Problem lunchbox
User Tez
Submission Time 2024-03-03 22:26:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:4:17: error: ‘m’ has not been declared
4 | int max(int N, m, K[]){
| ^
lunchbox.cpp:4:20: error: ‘K’ has not been declared
4 | int max(int N, m, K[]){
| ^
lunchbox.cpp:4:24: error: a function-definition is not allowed here before ‘{’ token
4 | int max(int N, m, K[]){
| ^
lunchbox.cpp:15:13: error: a function-definition is not allowed here before ‘{’ token
15 | int main() {
| ^
lunchbox.cpp:25:2: error: expected ‘}’ at end of input
25 | }
| ^
lunchbox.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^