Problem | lunchbox |
---|---|
User | meal |
Submission Time | 2024-11-05 16:01:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:9:2: error: expected ‘,’ or ‘;’ before ‘for’
9 | for (int count = 0; count < y; count ++){
| ^~~
lunchbox.cpp:9:22: error: parse error in template argument list
9 | for (int count = 0; count < y; count ++){
| ^~~~~~~~~
lunchbox.cpp:9:22: error: statement cannot resolve address of overloaded function
lunchbox.cpp:9:39: error: no post-increment operator for type
9 | for (int count = 0; count < y; count ++){
| ^~
lunchbox.cpp:14:8: error: expected ‘(’ before ‘x’
14 | while x > 0{
| ^
| (
lunchbox.cpp:14:13: error: expected ‘)’ before ‘{’ token
14 | while x > 0{
| ~ ^
| )