Borderou de evaluare (job #604167)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Numere8 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 19 aug. 2021 15:44:53 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:6:30: error: redeclaration of 'int x'
6 | int n,c,k,x,cnt=0,m=1,i,x=1,s=0,maxi=0;
| ^
main.cpp:6:16: note: 'int x' previously declared here
6 | int n,c,k,x,cnt=0,m=1,i,x=1,s=0,maxi=0;
| ^