Problem | lunchbox |
---|---|
User | eliasxyz |
Submission Time | 2025-05-24 18:26:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:13:9: error: request for member ‘begin’ in ‘A’, which is of non-class type ‘int [m]’
13 | sort(A.begin(),A.end()); //sorting algorithm?
| ^~~~~
lunchbox.cpp:13:19: error: request for member ‘end’ in ‘A’, which is of non-class type ‘int [m]’
13 | sort(A.begin(),A.end()); //sorting algorithm?
| ^~~
lunchbox.cpp:16:21: error: expected ‘;’ before ‘)’ token
16 | for(int k=0;k<m,k++){
| ^
| ;