Borderou de evaluare (job #765290)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Leduri1 (clasa a 7-a) | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 27 feb. 2024 16:54:50 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:18:7: error: too few arguments to function 'fputc'
18 | fputc()
| ^~~~~
In file included from main.c:1:
/usr/include/stdio.h:607:12: note: declared here
607 | extern int fputc (int __c, FILE *__stream);
| ^~~~~
main.c:18:14: error: expected ';' before 'for'
18 | fputc()
| ^
| ;
19 | for(l = 1; l >= 1; l--)
| ~~~
main.c:9:17: warning: variable 'fout' set but not used [-Wunused-but-set-variable]
9 | FILE *fin , *fout;
| ^~~~