Borderou de evaluare (job #603377)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Concurs (clasa a 5-a) | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 11 aug. 2021 10:19:33 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:3:1: error: unknown type name 'using'
3 | using namespace std;
| ^~~~~
main.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
3 | using namespace std;
| ^~~
main.c: In function 'main':
main.c:6:5: error: 'fin' undeclared (first use in this function)
6 | fin=fopen("concurs.in","r");
| ^~~
main.c:6:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:5: error: 'fout' undeclared (first use in this function)
7 | fout=fopen("concurs.out", "w");
| ^~~~
main.c:19:9: error: 'cin' undeclared (first use in this function)
19 | cin >> c;///123
| ^~~