Problem | lunchbox |
---|---|
User | broccolini37 |
Submission Time | 2025-01-22 17:49:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int32_t main()’:
lunchbox.cpp:9:2: error: expected initializer before ‘for’
9 | for(int i = 0; i < m; i++){
| ^~~
lunchbox.cpp:9:17: error: ‘i’ was not declared in this scope
9 | for(int i = 0; i < m; i++){
| ^
lunchbox.cpp:12:7: error: ‘a’ was not declared in this scope
12 | sort(a, a + m);
| ^
lunchbox.cpp: At global scope:
lunchbox.cpp:21:2: error: ‘cout’ does not name a type
21 | cout << schools;
| ^~~~
lunchbox.cpp:22:1: error: expected declaration before ‘}’ token
22 | }
| ^