Problem | lunchbox |
---|---|
User | meal |
Submission Time | 2024-11-05 16:02:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:12:18: error: request for member ‘begin’ in ‘array’, which is of non-class type ‘int [y]’
12 | std::sort(array.begin(), array.end());
| ^~~~~
lunchbox.cpp:12:33: error: request for member ‘end’ in ‘array’, which is of non-class type ‘int [y]’
12 | std::sort(array.begin(), array.end());
| ^~~
lunchbox.cpp:14:8: error: expected ‘(’ before ‘x’
14 | while x > 0{
| ^
| (
lunchbox.cpp:14:13: error: expected ‘)’ before ‘{’ token
14 | while x > 0{
| ~ ^
| )