Problem lunchbox
User xe
Submission Time 2024-11-14 10:44:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:5:31: error: expected primary-expression before ‘;’ token
5 | int N, m; cin >> N >> m >>;
| ^
lunchbox.cpp:14:5: error: expected ‘,’ or ‘;’ before ‘for’
14 | for(int k = 0;k < m;k++){
| ^~~
lunchbox.cpp:14:19: error: ‘k’ was not declared in this scope
14 | for(int k = 0;k < m;k++){
| ^