Problem lunchbox
User spidermancoolboy
Submission Time 2024-01-28 13:35:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:9:16: error: expected ‘;’ before ‘<’ token
9 | for (int i=0,i<m,i++){
| ^
| ;
lunchbox.cpp:9:16: error: expected primary-expression before ‘<’ token
lunchbox.cpp:9:17: error: ‘m’ was not declared in this scope
9 | for (int i=0,i<m,i++){
| ^
lunchbox.cpp:9:22: error: expected ‘;’ before ‘)’ token
9 | for (int i=0,i<m,i++){
| ^
| ;
lunchbox.cpp:12:15: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
12 | sort(lst,lst+m);
| ^
| tm
lunchbox.cpp:13:16: error: expected ‘;’ before ‘<’ token
13 | for (int i=0,i<m,i++){
| ^
| ;
lunchbox.cpp:13:16: error: expected primary-expression before ‘<’ token
lunchbox.cpp:13:22: erro