Problem | NYCanteen |
---|---|
User | dieunq1309 |
Submission Time | 2024-11-11 16:05:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
NYCanteen.cpp: In function ‘int main()’:
NYCanteen.cpp:19:36: error: expected ‘;’ before ‘}’ token
19 | v.push_back({a, c[i]-p[i]})
| ^
| ;
20 | }
| ~
NYCanteen.cpp:26:9: error: ‘vec’ was not declared in this scope
26 | if (vec.empty()) {
| ^~~
NYCanteen.cpp:31:16: error: ‘vec’ was not declared in this scope
31 | while (vec[id].first >= i && id < n) {
| ^~~
NYCanteen.cpp:33:18: error: no post-increment operator for type
33 | index++;
| ^~
NYCanteen.cpp:35:14: error: ‘que’ was not declared in this scope
35 | if (!que.empty()) {
| ^~~
NYCanteen.cpp: At global scope:
NYCanteen.cpp:43:1: error: expected declaration before ‘}’ token
43 | }
| ^