Borderou de evaluare (job #768782)

Utilizator avatar Ralucutza Popa Maya Ralucutza IP ascuns
Problemă Cel mai lung subşir comun Compilator c-32
Rundă Tema 25 clasa a 7-a Status evaluat
Dată 18 mar. 2024 16:26:14 Scor 80

Raport evaluator

Compilare: main.c: In function 'main': main.c:14:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'char *' [-Wformat=] 14 | fscanf(fin, "%d", &a[i]); | ~^ ~~~~~ | | | | | char * | int * | %hhd main.c:18:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'char *' [-Wformat=] 18 | fscanf(fin, "%d", &b[i]); | ~^ ~~~~~ | | | | | char * | int * | %hhd main.c:9:10: warning: unused variable 'ch' [-Wunused-variable] 9 | char ch; | ^~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d%d ", &n, &m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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 2 ms 1024 kb Raspuns corect! 10
5 1 ms 1298 kb Raspuns corect! 10
6 9 ms 2338 kb Raspuns corect! 10
7 19 ms 4435 kb Raspuns corect! 10
8 19 ms 3915 kb Raspuns corect! 10
9 18 ms 3919 kb Subsir incorect! 0
10 19 ms 3653 kb Subsir incorect! 0
Punctaj total 80