Borderou de evaluare (job #628067)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Minnrk (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 27 ian. 2022 19:57:57 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:1: error: expected ',' or ';' before 'int'
8 | int const LMAX=10;
| ^~~
main.cpp:9:7: error: 'LMAX' was not declared in this scope; did you mean 'ELIBMAX'?
9 | int f[LMAX];
| ^~~~
| ELIBMAX
main.cpp: In function 'int main()':
main.cpp:20:9: error: 'f' was not declared in this scope
20 | f[n%10]++;
| ^
main.cpp:27:10: error: 'f' was not declared in this scope
27 | if ( f[0] != 0 ){
| ^
main.cpp:34:27: error: 'f' was not declared in this scope
34 | for ( j = 0 ; j < f[i] && k != 0; j++ ){
| ^