Borderou de evaluare (job #774772)

Utilizator avatar Paunescu_Stefan_Vlad Paunescu Stefan Vlad Paunescu_Stefan_Vlad IP ascuns
Problemă Flota Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 16 apr. 2024 12:07:41 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:93:22: warning: format '%hhd' expects argument of type 'signed char *', but argument 3 has type 'short int *' [-Wformat=] 93 | fscanf(fin,"%hhd%hhd%hhd",&c[i][0],&c[i][1],&c[i][2]); | ~~~^ ~~~~~~~~ | | | | | short int * | signed char * | %hd main.c:93:26: warning: format '%hhd' expects argument of type 'signed char *', but argument 4 has type 'short int *' [-Wformat=] 93 | fscanf(fin,"%hhd%hhd%hhd",&c[i][0],&c[i][1],&c[i][2]); | ~~~^ ~~~~~~~~ | | | | signed char * short int * | %hd main.c:93:30: warning: format '%hhd' expects argument of type 'signed char *', but argument 5 has type 'short int *' [-Wformat=] 93 | fscanf(fin,"%hhd%hhd%hhd",&c[i][0],&c[i][1],&c[i][2]); | ~~~^ ~~~~~~~~ | | | | signed char * short int * | %hd main.c:91:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | fscanf(fin,"%d%d%d",&n,&m,&k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:93:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | fscanf(fin,"%hhd%hhd%hhd",&c[i][0],&c[i][1],&c[i][2]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:96:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 96 | fscanf(fin,"%d",&l[i][0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 10
2 9 ms 499 kb Incorect 0
3 1 ms 266 kb Incorect 0
4 509 ms 2863 kb Incorect 0
5 119 ms 774 kb Incorect 0
6 395 ms 2310 kb Incorect 0
7 639 ms 3649 kb Incorect 0
8 1068 ms 5787 kb Incorect 0
9 1368 ms 7692 kb Incorect 0
10 1406 ms 7770 kb Incorect 0
Punctaj total 10