Borderou de evaluare (job #667059)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Pinochio (clasa a 5-a) | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 5 oct. 2022 14:01:52 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:20:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
20 | if(k == 75)
| ^~
main.c:21:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
21 | s+=7;f
| ^
main.c:21:14: error: unknown type name 'f'
main.c:22:18: error: expected ')' before string constant
22 | fprintf(fout,"%d",s);
| ^~~~
| )
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin,"%d%d%d",&n,&p,&k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~