Borderou de evaluare (job #804334)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Portocal (clasa a 7-a) | Compilator | c-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 14 ian. 2025 09:34:06 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:6:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
6 | FILE *fin *fout;
| ^
main.c:6:16: error: 'fout' undeclared (first use in this function)
6 | FILE *fin *fout;
| ^~~~
main.c:6:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:5: error: 'fin' undeclared (first use in this function)
7 | fin=fopen("portocal.in","r");
| ^~~
main.c:9:15: error: expected identifier or '(' before ';' token
9 | int n,k,p,;
| ^