Borderou de evaluare (job #764922)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Forus (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 feb. 2024 14:50:13 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:34:11: error: 'a' was not declared in this scope
34 | a=x; mn=99999999;
| ^
main.cpp:34:16: error: 'mn' was not declared in this scope; did you mean 'n'?
34 | a=x; mn=99999999;
| ^~
| n
main.cpp:35:11: error: 'p' was not declared in this scope
35 | p=1;
| ^
main.cpp:38:15: error: 'j' was not declared in this scope
38 | for(j=1;j<=nr;j++)\
| ^
main.cpp:42:17: error: 'nrd' was not declared in this scope; did you mean 'nr'?
42 | nrd=0;
| ^~~
| nr
main.cpp:46:17: error: 'cif' was not declared in this scope
46 | cif=x/(p/10);
| ^~~
main.cpp:47:36: error: 't' was not declared in this scope
47 | if(nrd<mn&&cif%10) {mn=nrd;t=x;}
| ^
main.cpp:49:19: error: 't' was not declared in this scope
49 | fout<<t<<' ';
| ^