Borderou de evaluare (job #816131)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Prâslea ( clasa a 6-a ) | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 mar. 2025 19:19:51 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:38:5: error: implicit declaration of function 'If' [-Wimplicit-function-declaration]
38 | If(s==d && par<n)
| ^~
main.c:38:22: error: expected ';' before 'par'
38 | If(s==d && par<n)
| ^
| ;
39 | par++;
| ~~~
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,&m,&l);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin,"%d%d",&p,&x);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin,"%d",&d);
| ^~~~~~~~~~~~~~~~~~~