Borderou de evaluare (job #680665)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Jimjam (clasa a 5-a) | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 9 dec. 2022 10:52:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:12:5: error: 's' undeclared (first use in this function)
12 | s=n;
| ^
main.c:12:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:24:11: warning: implicit declaration of function 'fget'; did you mean 'fgets'? [-Wimplicit-function-declaration]
24 | c=fget(fin);
| ^~~~
| fgets
main.c:5:11: warning: variable 'i' set but not used [-Wunused-but-set-variable]
5 | int n,i;
| ^
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf( fin, "%d",&n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf( fin, "%d",&n);
| ^~~~~~~~~~~~~~~~~~~~~