Borderou de evaluare (job #619510)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Test (clasa a 5-a) | Compilator | c-32 |
Rundă | Tema 17 clasa a 5-a | Status | evaluat |
Dată | 2 dec. 2021 23:13:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:26:11: error: invalid type argument of unary '*' (have 'int')
26 | ab = * 10 + a
| ^~~~
main.c:26:19: error: expected ';' at end of input
26 | ab = * 10 + a
| ^
| ;
main.c:26:5: error: expected declaration or statement at end of input
26 | ab = * 10 + a
| ^~
main.c:6:22: warning: unused variable 'nr' [-Wunused-variable]
6 | int a, b, ca, i, nr, cb, fb, cbb, ab;
| ^~
main.c:5:17: warning: unused variable 'fout' [-Wunused-variable]
5 | FILE *fin, *fout;
| ^~~~
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin, "%d%d", &a, &b);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~