Problem | queuecutting |
---|---|
User | om2024 |
Submission Time | 2024-06-21 13:03:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
queuecutting.cpp: In function ‘int main()’:
queuecutting.cpp:9:6: error: ‘i’ was not declared in this scope
9 | for(i = 0, i < q, i++) {
| ^
queuecutting.cpp:20:2: error: expected primary-expression before ‘return’
20 | return 0;
| ^~~~~~
queuecutting.cpp:19:12: error: expected ‘)’ before ‘return’
19 | cout << a;
| ^
| )
20 | return 0;
| ~~~~~~
queuecutting.cpp:9:5: note: to match this ‘(’
9 | for(i = 0, i < q, i++) {
| ^