Problem | squidzofrenzic |
---|---|
User | Yannwen09 |
Submission Time | 2023-11-09 11:56:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
squidzofrenzic.cpp: In function ‘bool ispossible(int)’:
squidzofrenzic.cpp:11:14: error: ‘i’ was not declared in this scope
11 | if (cur + A[i] <= atmost) {
| ^
squidzofrenzic.cpp: At global scope:
squidzofrenzic.cpp:19:1: error: expected unqualified-id before ‘if’
19 | if (people <= m) return true;
| ^~
squidzofrenzic.cpp:20:1: error: expected unqualified-id before ‘else’
20 | else return false;
| ^~~~
squidzofrenzic.cpp:21:1: error: expected declaration before ‘}’ token
21 | }
| ^