Borderou de evaluare (job #852216)

Utilizator avatar Tudor_MD Marin-Diu Tudor Tudor_MD IP ascuns
Problemă Acoperire Compilator c
Rundă Tema 15 Clasa a 7-a Status evaluat
Dată 7 feb. 2026 10:53:25 Scor 57

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(in, "%d%d%d",&a,&b,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(in, "%hd%hd",&v[i].st,&v[i].dr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:43:19: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 43 | while(v[j].dr < b){ | ~~~~^~~ main.c:10:24: note: 'p' was declared here 10 | int a, b, n, i, j, p, max, r = 1, j2, maxdr = 0; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 508 kb OK 10
2 0 ms 292 kb OK 10
3 depășit 512 kb Time limit exceeded. 0
4 1 ms 508 kb OK 10
5 depășit 296 kb Time limit exceeded. 0
6 depășit 512 kb Time limit exceeded. 0
7 1 ms 508 kb OK 10
8 0 ms 292 kb OK 10
9 2 ms 292 kb OK 10
10 2 ms 508 kb Incorect 0
Penalizare: 5% (pentru 1 submisie/ii) 5%
Punctaj total 57