Borderou de evaluare (job #857040)

Utilizator avatar andrei_sevescu sevescu andrei andrei_sevescu IP ascuns
Problemă Subșirul comun de lungime maximă (clasa a 7-a) Compilator c
Rundă Tema 22 Clasa a 7-a Status evaluat
Dată 7 mar. 2026 12:14:47 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': 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:33:48: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 33 | fprintf(fout, "%d %d %d\n" ,max, l-max+1, c-max+1); | ~^~~~ main.c:10:28: note: 'c' was declared here 10 | int n,m,i,max,j,ch,f,l,c; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 508 kb OK 10
2 1 ms 508 kb OK 10
3 1 ms 764 kb OK 10
4 1 ms 1020 kb OK 10
5 2 ms 1060 kb OK 10
6 2 ms 1532 kb OK 10
7 4 ms 2084 kb OK 10
8 5 ms 2556 kb OK 10
9 6 ms 2340 kb OK 10
10 6 ms 2340 kb OK 10
Punctaj total 100