Borderou de evaluare (job #839185)

Utilizator avatar dinamica programare dinamica (DP) dinamica IP ascuns
Problemă Cel mai lung subşir comun Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 29 oct. 2025 22:00:07 Scor 20

Raport evaluator

Compilare: main.c: In function 'main': main.c:14:26: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] 14 | fscanf ( fin , "%d" , &a[i] ); | ~^ ~~~~~ | | | | | short int * | int * | %hd main.c:16:26: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] 16 | fscanf ( fin , "%d" , &b[i] ); | ~^ ~~~~~ | | | | | short int * | int * | %hd main.c:41:25: warning: array subscript has type 'char' [-Wchar-subscripts] 41 | i = i + di[dm[i][j]]; | ~~~~~^~~ main.c:42:25: warning: array subscript has type 'char' [-Wchar-subscripts] 42 | j = j + dj[dm[i][j]]; | ~~~~~^~~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf ( fin , "%d%d" , &m , &n ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf ( fin , "%d" , &a[i] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf ( fin , "%d" , &b[i] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 512 kb Subsir incorect! 0
2 0 ms 296 kb Raspuns corect! 10
3 0 ms 296 kb Raspuns corect! 10
4 1 ms 1024 kb Subsir incorect! 0
5 1 ms 1280 kb Subsir incorect! 0
6 3 ms 2048 kb Subsir incorect! 0
7 5 ms 3368 kb Subsir incorect! 0
8 5 ms 3328 kb Subsir incorect! 0
9 5 ms 3584 kb Subsir incorect! 0
10 4 ms 2816 kb Subsir incorect! 0
Punctaj total 20