Problem | lunchbox |
---|---|
User | akyy1713 |
Submission Time | 2025-06-19 15:16:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp:18:9: error: expected constructor, destructor, or type conversion before ‘(’ token
18 | sort(arr.begin(), arr.end());
| ^
lunchbox.cpp:20:5: error: expected unqualified-id before ‘for’
20 | for (long long i = 0; i<m; i++){
| ^~~
lunchbox.cpp:20:27: error: ‘i’ does not name a type
20 | for (long long i = 0; i<m; i++){
| ^
lunchbox.cpp:20:32: error: ‘i’ does not name a type
20 | for (long long i = 0; i<m; i++){
| ^
lunchbox.cpp:26:9: error: ‘cout’ does not name a type
26 | cout << schools;
| ^~~~