Borderou de evaluare (job #582052)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cuburi (clasa a 8-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 15 feb. 2021 19:28:54 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int minim(int)':
main.cpp:19:18: error: expected ';' before ')' token
19 | for (i=n-1; i)
| ^
| ;
main.cpp:20:1: error: expected primary-expression before '}' token
20 | }
| ^
main.cpp:10:17: warning: unused variable 'rez' [-Wunused-variable]
10 | int n,poz,i,rez,detaiat, cifre[10];
| ^~~
main.cpp:10:21: warning: unused variable 'detaiat' [-Wunused-variable]
10 | int n,poz,i,rez,detaiat, cifre[10];
| ^~~~~~~
main.cpp:20:1: warning: no return statement in function returning non-void [-Wreturn-type]
20 | }
| ^