Borderou de evaluare (job #600671)

Utilizator avatar deer Mohanu Dominic deer IP ascuns
Problemă Reactivi (clasa a 9-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 21 iun. 2021 14:38:37 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:70:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'char *' [-Wformat=] 70 | fscanf(Fisier, "%d %d", &r[i].min, &r[i].max, &x, &y); | ~^ ~~~~~~~~~ | | | | int * char * | %hhd main.c:70:25: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'char *' [-Wformat=] 70 | fscanf(Fisier, "%d %d", &r[i].min, &r[i].max, &x, &y); | ~^ ~~~~~~~~~ | | | | int * char * | %hhd main.c:70:20: warning: too many arguments for format [-Wformat-extra-args] 70 | fscanf(Fisier, "%d %d", &r[i].min, &r[i].max, &x, &y); | ^~~~~~~ main.c:68:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | fscanf(Fisier, "%d", &N); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:70:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | fscanf(Fisier, "%d %d", &r[i].min, &r[i].max, &x, &y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'Cauta': main.c:36:10: warning: 'Unde' may be used uninitialized in this function [-Wmaybe-uninitialized] 36 | return Unde; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 1 ms 262 kb OK 10
3 1 ms 262 kb OK 10
4 1 ms 262 kb OK 10
5 70 ms 262 kb OK 10
6 20 ms 262 kb OK 10
7 1 ms 262 kb OK 10
8 75 ms 262 kb OK 10
9 1 ms 262 kb OK 10
10 75 ms 262 kb OK 10
Punctaj total 100