Problem | robberduck |
---|---|
User | ATHY |
Submission Time | 2024-08-09 08:39:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
robberduck.cpp: In function ‘int main()’:
robberduck.cpp:29:27: error: ‘vault_count’ was not declared in this scope
29 | return prefix_sum[vault_count] >= x;
| ^~~~~~~~~~~
robberduck.cpp: At global scope:
robberduck.cpp:32:5: error: expected unqualified-id before ‘for’
32 | for (ll time = 0; time < t; ++time) {
| ^~~
robberduck.cpp:32:23: error: ‘time’ does not name a type
32 | for (ll time = 0; time < t; ++time) {
| ^~~~
robberduck.cpp:32:33: error: expected unqualified-id before ‘++’ token
32 | for (ll time = 0; time < t; ++time) {
| ^~
robberduck.cpp:53:5: error: expected unqualified-id before ‘if’
53 | if (optimal_time != -1) {
| ^~
robberduck.cpp:55:7: error: expected unqualified-id before ‘else’
55 | } else {
| ^~~~
robberduck.cpp:58:1: