Problem buffet
User BoneMeBurner
Submission Time 2024-08-15 07:32:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

buffet.cpp: In function ‘int main()’:
buffet.cpp:9:26: error: found ‘:’ in nested-name-specifier, expected ‘::’
9 | for (int i = 0; i < a: i++){
| ^
| ::
buffet.cpp:9:25: error: ‘a’ is not a class, namespace, or enumeration
9 | for (int i = 0; i < a: i++){
| ^
buffet.cpp:12:5: error: expected primary-expression before ‘for’
12 | for (int i = 0; i < a: i++){
| ^~~
buffet.cpp:11:6: error: expected ‘;’ before ‘for’
11 | }
| ^
| ;
12 | for (int i = 0; i < a: i++){
| ~~~
buffet.cpp:12:5: error: expected primary-expression before ‘for’
12 | for (int i = 0; i < a: i++){
| ^~~
buffet.cpp:11:6: error: expected ‘)’ before ‘for’
11 | }
| ^
| )
12 | for (int i = 0; i < a: i++){
|