Borderou de evaluare (job #853239)

Utilizator avatar dmisepciuc isepciuc dmisepciuc IP ascuns
Problemă Căutare1 (clasa a 5-a) Compilator c
Rundă Tema 19 Clasa a 5-a Status evaluat
Dată 15 feb. 2026 18:17:39 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",&n,&m); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d",&a); | ^~~~~~~~~~~~~~~~~~~~ main.c:24:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | fscanf(fin,"%d",&b); | ^~~~~~~~~~~~~~~~~~~ main.c:14:13: warning: iteration 999 invokes undefined behavior [-Waggressive-loop-optimizations] 14 | v[i]=0; | ~~~~^~ main.c:13:15: note: within this loop 13 | for(i=1; i<=1000; i++) | ~^~~~~~ main.c:14:13: warning: '__builtin_memset' forming offset [4000, 4003] is out of the bounds [0, 4000] of object 'v' with type 'int[1000]' [-Warray-bounds=] 14 | v[i]=0; | ~~~~^~ main.c:12:9: note: 'v' declared here 12 | int v[1000]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 292 kb OK 10
2 1 ms 292 kb OK 10
3 3 ms 484 kb OK 10
4 6 ms 472 kb OK 10
5 7 ms 256 kb OK 10
6 14 ms 500 kb OK 10
7 21 ms 528 kb OK 10
8 26 ms 248 kb OK 10
9 27 ms 232 kb OK 10
10 31 ms 376 kb OK 10
Punctaj total 100