Problem lunchbox
User wahjsodhowasd
Submission Time 2026-02-11 11:54:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:9:20: error: expected ‘)’ before ‘;’ token
9 | for(int i=0;i<m;i++;){
| ~ ^
| )
lunchbox.cpp:9:21: error: expected primary-expression before ‘)’ token
9 | for(int i=0;i<m;i++;){
| ^
lunchbox.cpp:14:12: error: expected ‘;’ before ‘)’ token
14 | for (N>v[0]){
| ^
| ;
lunchbox.cpp:18:1: error: ‘Cout’ was not declared in this scope
18 | Cout<<A;}
| ^~~~
lunchbox.cpp:18:9: error: expected primary-expression before ‘}’ token
18 | Cout<<A;}
| ^
lunchbox.cpp:18:9: error: expected ‘)’ before ‘}’ token
18 | Cout<<A;}
| ^
| )
lunchbox.cpp:14:5: note: to match this ‘(’
14 | for (N>v[0]){
| ^
lunchbox.cpp:18:9: error: expected primary-expression before ‘}’ t