Borderou de evaluare (job #687146)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Concurs (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 14 ian. 2023 12:07:39 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:31: error: redeclaration of 'int z'
8 | int H,n,a,x,y,z,con=0,s,u,z;
| ^
main.cpp:8:19: note: 'int z' previously declared here
8 | int H,n,a,x,y,z,con=0,s,u,z;
| ^
main.cpp:8:15: warning: unused variable 'x' [-Wunused-variable]
8 | int H,n,a,x,y,z,con=0,s,u,z;
| ^
main.cpp:8:17: warning: unused variable 'y' [-Wunused-variable]
8 | int H,n,a,x,y,z,con=0,s,u,z;
| ^