Problem | lunchbox |
---|---|
User | ZhangBowen |
Submission Time | 2025-04-13 12:55:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:9:7: error: ‘i’ was not declared in this scope
9 | for (i=0;i<m;i++){
| ^
lunchbox.cpp:12:23: error: ‘vec’ was not declared in this scope
12 | sort(schools.begin(),vec.end());
| ^~~
lunchbox.cpp:14:2: error: expected ‘,’ or ‘;’ before ‘for’
14 | for (i=0;i<m;i++){
| ^~~
lunchbox.cpp:14:11: error: ‘i’ was not declared in this scope
14 | for (i=0;i<m;i++){
| ^