Borderou de evaluare (job #859816)

Utilizator avatar AlexandraPaunescu Paunescu Alexandra AlexandraPaunescu IP ascuns
Problemă Plop (clasa a 7-a) Compilator c
Rundă Tema 18 Clasa a 6-a Status evaluat
Dată 3 mai 2026 17:26:44 Scor 97

Raport evaluator

Compilare: main.c: In function 'main': main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf (fin,"%d%d",&n,&q); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf (fin," %c",&c); | ^~~~~~~~~~~~~~~~~~~~~ main.c:21:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf (fin,"%d%d",&x,&y); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:26:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | fscanf (fin,"%d",&k); | ^~~~~~~~~~~~~~~~~~~~ main.c:41:22: warning: iteration 100001 invokes undefined behavior [-Waggressive-loop-optimizations] 41 | f[i1]=0; | ~~~~~^~ main.c:40:25: note: within this loop 40 | for (i1=0;i1<=100001;i1++) { | ~~^~~~~~~~ main.c:41:22: warning: '__builtin_memset' forming offset [400004, 400007] is out of the bounds [0, 400004] of object 'f' with type 'int[100001]' [-Warray-bounds=] 41 | f[i1]=0; | ~~~~~^~ main.c:7:5: note: 'f' declared here 7 | int f[100001]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 1004 kb OK 5
2 2 ms 1004 kb OK 5
3 113 ms 1000 kb OK 5
4 5 ms 1004 kb OK 5
5 80 ms 1000 kb OK 5
6 34 ms 1004 kb OK 5
7 29 ms 1260 kb OK 5
8 28 ms 1260 kb OK 5
9 35 ms 1516 kb OK 5
10 33 ms 2284 kb OK 5
11 15 ms 1516 kb OK 5
12 21 ms 1260 kb OK 5
13 30 ms 1516 kb OK 5
14 24 ms 1772 kb OK 5
15 53 ms 2284 kb OK 5
16 62 ms 2284 kb OK 5
17 91 ms 2284 kb OK 5
18 359 ms 1772 kb OK 5
19 751 ms 2276 kb OK 5
20 825 ms 2280 kb OK 5
Penalizare: 3% (pentru 1 submisie/ii) 3%
Punctaj total 97