Borderou de evaluare (job #702520)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Centru Prim (clasa a 5-a) | Compilator | cpp-32 |
Rundă | superoji2 | Status | evaluat |
Dată | 7 mar. 2023 20:44:09 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:11:5: error: expected ',' or ';' before 'int'
11 | int a,a1,cnt=0,z,n;
| ^~~
main.cpp:12:10: error: 'a' was not declared in this scope
12 | cin>>a;
| ^
main.cpp:13:5: error: 'a1' was not declared in this scope; did you mean 'y1'?
13 | a1=a;
| ^~
| y1
main.cpp:15:9: error: 'cnt' was not declared in this scope; did you mean 'int'?
15 | cnt++;
| ^~~
| int
main.cpp:23:5: error: 'z' was not declared in this scope
23 | z=pow(10 , cnt-1);
| ^
main.cpp:23:16: error: 'cnt' was not declared in this scope; did you mean 'int'?
23 | z=pow(10 , cnt-1);
| ^~~
| int
main.cpp:24:3: error: 'n' was not declared in this scope; did you mean 'yn'?
24 | n=a-a1*z;
| ^
| yn