Borderou de evaluare (job #597209)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Nset (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 30 apr. 2021 15:47:59 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:1: error: expected ',' or ';' before 'ofstream'
6 | ofstream cout ("nset.out")
| ^~~~~~~~
main.cpp: In function 'void rec(int)':
main.cpp:12:20: error: 'a0' was not declared in this scope
12 | if (n%10==0 && a0==0)
| ^~
main.cpp:15:9: error: 'r' was not declared in this scope
15 | r++;
| ^
main.cpp:17:20: error: 'a1' was not declared in this scope
17 | if (n%10==1 && a1==0)
| ^~
main.cpp:20:9: error: 'r' was not declared in this scope
20 | r++;
| ^
main.cpp:22:20: error: 'a2' was not declared in this scope
22 | if (n%10==2 && a2==0)
| ^~
main.cpp:25:9: error: 'r' was not declared in this scope
25 | r++;
| ^
main.cpp:27:20: error: 'a3' was not declared in this scope
27 | if (n%10==3 && a3==0)
| ^~
main.cpp:30:9: error: 'r' was not declared in this scope
30 | r++;
| ^
main.cpp:32:20: error: 'a4' was not declared in this scope
32 | if (n%10==4 && a4==0)
| ^~
main.cpp:35:9: error: 'r' was not declared in this scope
35 | r++;
| ^
main.cpp:37:20: error: 'a5' was not declared in this scope
37 | if (n%10==5 && a5==0)
| ^~
main.cpp:40:9: error: 'r' was not declared in this scope
40 | r++;
| ^
main.cpp:42:20: error: 'a6' was not declared in this scope
42 | if (n%10==6 && a6==0)
| ^~
main.cpp:45:9: error: 'r' was not declared in this scope
45 | r++;
| ^
main.cpp:47:20: error: 'a7' was not declared in this scope
47 | if (n%10==7 && a7==0)
| ^~
main.cpp:50:9: error: 'r' was not declared in this scope