Problem | workoutplan |
---|---|
User | eliasxyz |
Submission Time | 2025-06-12 12:13:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
workoutplan.cpp: In function ‘int main()’:
workoutplan.cpp:8:7: error: found ‘:’ in nested-name-specifier, expected ‘::’
8 | for(x:A){
| ^
| ::
workoutplan.cpp:8:6: error: ‘x’ has not been declared
8 | for(x:A){
| ^
workoutplan.cpp:11:2: error: expected primary-expression before ‘return’
11 | return 0;
| ^~~~~~
workoutplan.cpp:10:3: error: expected ‘;’ before ‘return’
10 | }
| ^
| ;
11 | return 0;
| ~~~~~~
workoutplan.cpp:11:2: error: expected primary-expression before ‘return’
11 | return 0;
| ^~~~~~
workoutplan.cpp:10:3: error: expected ‘)’ before ‘return’
10 | }
| ^
| )
11 | return 0;
| ~~~~~~
workoutplan.cpp:8:5: note: to match this ‘(’
8 | for(x:A){
| ^