| Problem | photo |
|---|---|
| User | justin271828 |
| Submission Time | 2025-01-11 15:57:31 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
photo.cpp: In function ‘int main()’:
photo.cpp:42:27: error: expected ‘;’ before ‘tree’
42 | tree = new node(0, N*S-1)
| ^
| ;
43 | tree->up(arr[0].second]);
| ~~~~
photo.cpp:49:58: error: expected ‘)’ before ‘]’ token
49 | if (end == (N*S)-1 || v) tree->down(arr[start++].second]);
| ~ ^
| )
photo.cpp:51:13: error: cannot convert ‘node::q’ from type ‘bool (node::)()’ to type ‘bool’
51 | v = tree->q;
| ^