Borderou de evaluare (job #731705)

Utilizator avatar vladimir.gavris vladimir g vladimir.gavris IP ascuns
Problemă Rucsac Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 9 sept. 2023 13:08:59 Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:41:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] 41 | fscanf(fin,"%d",&greutate[i]); | ~^ ~~~~~~~~~~~~ | | | | | short int * | int * | %hd main.c:38:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | fscanf(fin,"%d%d",&n,&k); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:41:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 41 | fscanf(fin,"%d",&greutate[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 9 ms 245 kb OK 10
5 59 ms 245 kb OK 10
6 809 ms 249 kb Time limit exceeded 0
7 809 ms 507 kb Time limit exceeded 0
8 809 ms 507 kb Time limit exceeded 0
9 1 ms 1298 kb Incorect 0
10 1 ms 1032 kb Incorect 0
Punctaj total 50