Borderou de evaluare (job #681907)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Algebra (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 14 dec. 2022 16:04:43 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int S(int, int)':
main.cpp:58:9: error: 'z' was not declared in this scope
58 | z*=10;
| ^
main.cpp:63:14: error: 'z' was not declared in this scope
63 | cn=a%z;
| ^
main.cpp: At global scope:
main.cpp:86:5: error: expected unqualified-id before 'if'
86 | if(n==75)
| ^~
main.cpp:91:5: error: expected unqualified-id before 'if'
91 | if(n==80)
| ^~
main.cpp:96:5: error: expected unqualified-id before 'if'
96 | if(n==83)
| ^~
main.cpp:101:5: error: expected unqualified-id before 'return'
101 | return 0;
| ^~~~~~
main.cpp:102:1: error: expected declaration before '}' token
102 | }
| ^