Borderou de evaluare (job #767403)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Foto1 (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 11 mar. 2024 22:55:23 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:26:10: error: 'else' without a previous 'if'
26 | }else{
| ^~~~
main.cpp:38:3: error: 'else' without a previous 'if'
38 | else
| ^~~~
main.cpp:46:11: error: 'l' was not declared in this scope
46 | l=1;
| ^
main.cpp:13:13: warning: unused variable 'p' [-Wunused-variable]
13 | int c,n,m,p,f,h,i,j,ii,st,jj,a=0,am=0;/// am => a maxim
| ^
main.cpp:13:15: warning: unused variable 'f' [-Wunused-variable]
13 | int c,n,m,p,f,h,i,j,ii,st,jj,a=0,am=0;/// am => a maxim
| ^
main.cpp:13:17: warning: unused variable 'h' [-Wunused-variable]
13 | int c,n,m,p,f,h,i,j,ii,st,jj,a=0,am=0;/// am => a maxim
| ^