Borderou de evaluare (job #768875)

Utilizator avatar Tibi201 Enache Tiberiu Mihai Tibi201 IP ascuns
Problemă Cel mai lung subşir comun Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 18 mar. 2024 23:00:15 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d%d", &m, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:13:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d", &a[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d", &b[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:38:10: warning: 'maxa' may be used uninitialized [-Wmaybe-uninitialized] 38 | i--; | ~^~ main.c:9:21: note: 'maxa' was declared here 9 | int n,m,i,j,max,maxa,maxb,k; | ^~~~ main.c:36:17: warning: 'maxb' may be used uninitialized [-Wmaybe-uninitialized] 36 | if(a[i]==b[j]){ | ~^~~ main.c:9:26: note: 'maxb' was declared here 9 | int n,m,i,j,max,maxa,maxb,k; | ^~~~
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 1036 kb Raspuns corect! 10
5 1 ms 1294 kb Raspuns corect! 10
6 9 ms 2342 kb Raspuns corect! 10
7 18 ms 4440 kb Raspuns corect! 10
8 19 ms 3915 kb Raspuns corect! 10
9 18 ms 4440 kb Raspuns corect! 10
10 9 ms 2605 kb Raspuns corect! 10
Punctaj total 100