Borderou de evaluare (job #649035)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Maxnr (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 mai 2022 17:41:37 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:5: error: expected ',' or ';' before 'ofstream'
8 | ofstream fout ("maxnr.out")
| ^~~~~~~~
main.cpp:10:10: error: 'n' was not declared in this scope
10 | fin>>n;
| ^
main.cpp:15:10: error: 'i' was not declared in this scope
15 | for (i=9;i>-1;i--){
| ^
main.cpp:16:14: error: 'i1' was not declared in this scope
16 | for (i1=f[i];i1>0;i1--){
| ^~
main.cpp:17:13: error: 'fout' was not declared in this scope
17 | fout<<i;
| ^~~~