| Problem | smurfpaths |
|---|---|
| User | ForgottenDragon |
| Submission Time | 2025-12-17 11:16:19 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
smurfpaths.cpp:89:29: error: expected unqualified-id before ‘)’ token
89 | void update(int p, int v) {
| ^
smurfpaths.cpp: In function ‘void update(...)’:
smurfpaths.cpp:90:12: error: ‘p’ was not declared in this scope
90 | for(; p <= n; p += (p & -p)) ft[p] += v;
| ^
smurfpaths.cpp:90:17: error: ‘n’ was not declared in this scope
90 | for(; p <= n; p += (p & -p)) ft[p] += v;
| ^
smurfpaths.cpp:90:45: error: expected primary-expression before ‘;’ token
90 | for(; p <= n; p += (p & -p)) ft[p] += v;
| ^