Borderou de evaluare (job #621196)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Monotonă (clasa a 5-a) | Compilator | c-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 16 dec. 2021 18:27:18 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:10:5: error: 'cresc' undeclared (first use in this function)
10 | cresc=0;
| ^~~~~
main.c:10:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:5: error: 'descresc' undeclared (first use in this function)
11 | descresc=0;
| ^~~~~~~~
main.c:13:9: warning: implicit declaration of function 'fsccanf'; did you mean 'fscanf'? [-Wimplicit-function-declaration]
13 | fsccanf(fin, "%d",&b);
| ^~~~~~~
| fscanf
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf( fin, "%d%d",&n,&a);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~