Problem | robots |
---|---|
User | shoryu386 |
Submission Time | 2023-05-10 16:21:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
robots.cpp: In function ‘int putaway(int, int, int, int*, int*, int*, int*)’:
robots.cpp:34:24: error: ‘k’ was not declared in this scope
34 | for (int y = 0; y < k; y++){
| ^
robots.cpp:52:16: error: ‘k’ was not declared in this scope
52 | if (cnt == k) break;
| ^
robots.cpp:56:29: error: expected ‘;’ before ‘res’
56 | if (revpq.empty()) res = 1
| ^
| ;
57 | res = 0;
| ~~~