Borderou de evaluare (job #834485)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Valutar (Clasa a 7-a) | Compilator | c |
| Rundă | simulareoji-staicu_si_diu | Status | evaluat |
| Dată | 27 sept. 2025 17:26:51 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:37:16: error: assignment to 'int' from 'int *' makes integer from pointer without a cast [-Wint-conversion]
37 | llei[i]=lei;
| ^
main.c:38:17: error: assignment to 'int' from 'int *' makes integer from pointer without a cast [-Wint-conversion]
38 | eeuro[i]=euro;
| ^
main.c:18:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin,"%d%d%d%d%d%d%d%d%d",&c,&a,&b,&nr0,&n,&m,&l,&e,&x);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:23:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
23 | fscanf(fin,"%d%d",&l,&e);
| ^~~~~~~~~~~~~~~~~~~~~~~~