Problem | squidzofrenzic |
---|---|
User | nivay210 |
Submission Time | 2023-11-09 14:03:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
squidzofrenzic.cpp: In function ‘bool ispossible(int)’:
squidzofrenzic.cpp:9:19: error: expected ‘;’ before ‘<’ token
9 | for (int i = 0, i < n, i++) {
| ^~
| ;
squidzofrenzic.cpp:9:20: error: expected primary-expression before ‘<’ token
9 | for (int i = 0, i < n, i++) {
| ^
squidzofrenzic.cpp:9:28: error: expected ‘;’ before ‘)’ token
9 | for (int i = 0, i < n, i++) {
| ^
| ;
squidzofrenzic.cpp:10:34: error: expected ‘;’ before ‘if’
10 | if (A[i] > atmost) return false
| ^
| ;
11 | if (cur + A[i] <= atmost) {
| ~~
squidzofrenzic.cpp: In function ‘int main()’:
squidzofrenzic.cpp:28:28: error: expected ‘;’ before ‘)’ token
28 |