Borderou de evaluare (job #353576)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Piramida1 (clasa a 6-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 feb. 2018 13:48:36 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:12:17: warning: statement with no effect [-Wunused-value]
12 | for(c!='\n' && c!=EOF){
| ^
main.c:12:26: error: expected ';' before ')' token
12 | for(c!='\n' && c!=EOF){
| ^
main.c:12:26: error: expected expression before ')' token
main.c:17:9: error: implicit declaration of function 'fegtc'; did you mean 'fgetc'? [-Wimplicit-function-declaration]
17 | c=fegtc(fin);
| ^~~~~
| fgetc
main.c:26:7: error: implicit declaration of function 'fprinf'; did you mean 'fprintf'? [-Wimplicit-function-declaration]
26 | fprinf(fout,"\n");
| ^~~~~~
| fprintf