Problem lunchbox
User Dan64091
Submission Time 2025-03-09 22:12:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:9:2: error: expected initializer before ‘for’
9 | for(int i = 0;i < m;i++){
| ^~~
lunchbox.cpp:9:16: error: ‘i’ was not declared in this scope
9 | for(int i = 0;i < m;i++){
| ^
lunchbox.cpp:13:7: error: ‘gay’ was not declared in this scope
13 | sort(gay.begin(),gay.end());
| ^~~