Borderou de evaluare (job #641133)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cozonaci (clasa 5-6) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 15 mar. 2022 19:04:05 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:35: error: redeclaration of 'int p'
8 | int a,b,x,i,s1=0,y,s2=0,p=0,r,p;
| ^
main.cpp:8:29: note: 'int p' previously declared here
8 | int a,b,x,i,s1=0,y,s2=0,p=0,r,p;
| ^
main.cpp:8:11: warning: unused variable 'b' [-Wunused-variable]
8 | int a,b,x,i,s1=0,y,s2=0,p=0,r,p;
| ^