Borderou de evaluare (job #768988)

Utilizator avatar matei_matei Diaconu Matei matei_matei IP ascuns
Problemă Cel mai lung subşir comun Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 19 mar. 2024 19:41:30 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:15:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'unsigned char *' [-Wformat=] 15 | fscanf(fin, "%d", &a[i]); | ~^ ~~~~~ | | | | | unsigned char * | int * | %hhd main.c:18:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'unsigned char *' [-Wformat=] 18 | fscanf(fin, "%d", &b[i]); | ~^ ~~~~~ | | | | | unsigned char * | int * | %hhd main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d%d", &m, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d", &a[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin, "%d", &b[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Raspuns corect! 10
2 1 ms 245 kb Raspuns corect! 10
3 1 ms 245 kb Raspuns corect! 10
4 1 ms 770 kb Raspuns corect! 10
5 2 ms 765 kb Raspuns corect! 10
6 8 ms 1290 kb Raspuns corect! 10
7 18 ms 2338 kb Raspuns corect! 10
8 9 ms 1818 kb Raspuns corect! 10
9 19 ms 2342 kb Raspuns corect! 10
10 9 ms 1556 kb Raspuns corect! 10
Punctaj total 100