| Problem | smurfpaths |
|---|---|
| User | LL |
| Submission Time | 2025-12-17 10:53:20 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
smurfpaths.cpp: In member function ‘void node::radd(ll, ll, ll)’:
smurfpaths.cpp:52:18: error: expected ‘;’ before ‘}’ token
52 | q = l->q + r->q
| ^
| ;
53 | }
| ~
smurfpaths.cpp: In function ‘int main()’:
smurfpaths.cpp:131:4: error: ‘var’ was not declared in this scope
131 | var = root-> query(0);
| ^~~
smurfpaths.cpp:132:4: error: ‘var2’ was not declared in this scope
132 | var2 = root->query(pre[x]);
| ^~~~
smurfpaths.cpp:133:4: error: ‘var3’ was not declared in this scope
133 | var3 = var - var2;
| ^~~~
smurfpaths.cpp:134:13: error: expected primary-expression before ‘<<’ token
134 | cout << << '\n';
| ^~