Borderou de evaluare (job #857162)

Utilizator avatar RobertSerb dnrtc_robert RobertSerb IP ascuns
Problemă Cel mai lung subşir comun Compilator c
Rundă Tema 22 Clasa a 7-a Status evaluat
Dată 8 mar. 2026 14:07:28 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:15:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] 15 | fscanf(fin, "%d%d", &n, &m); | ~^ ~~ | | | | int * short int * | %hd main.c:15:21: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'short int *' [-Wformat=] 15 | fscanf(fin, "%d%d", &n, &m); | ~^ ~~ | | | | int * short int * | %hd main.c:17:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] 17 | fscanf(fin, "%d", &a[i]); | ~^ ~~~~~ | | | | | short int * | int * | %hd main.c:20:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] 20 | fscanf(fin, "%d", &b[i]); | ~^ ~~~~~ | | | | | short int * | int * | %hd main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d%d", &n, &m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d", &a[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:20:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%d", &b[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 288 kb Killed by signal 6. 0
2 1 ms 288 kb Killed by signal 6. 0
3 1 ms 504 kb Killed by signal 6. 0
4 1 ms 760 kb Killed by signal 6. 0
5 1 ms 1016 kb Killed by signal 6. 0
6 3 ms 1528 kb Killed by signal 6. 0
7 6 ms 2552 kb Killed by signal 6. 0
8 5 ms 2080 kb Killed by signal 6. 0
9 6 ms 2336 kb Killed by signal 6. 0
10 5 ms 2040 kb Killed by signal 6. 0
Punctaj total 0