Borderou de evaluare (job #824835)

Utilizator avatar mcucui2013 Maria Ioana Cucui mcucui2013 IP ascuns
Problemă Cyber (clasa 5-6) Compilator c-32
Rundă Tema 31 Clasa a 5-a Status evaluat
Dată 18 mai 2025 15:48:32 Scor 34

Raport evaluator

Compilare: main.c: In function 'main': main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf(fin,"%d\n",&nr); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin,"%d\n",&a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin,"%d\n",&b); | ^~~~~~~~~~~~~~~~~~~~~ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin,"%d\n",&c); | ^~~~~~~~~~~~~~~~~~~~~ main.c:87:23: warning: 'mic' may be used uninitialized [-Wmaybe-uninitialized] 87 | for (int i = 2;i <= mic;i++){ | ~~^~~~~~ main.c:6:22: note: 'mic' was declared here 6 | int nr, a, b, c, mic, codt=0, mare, mij, r1, r2, prim=0, codd=0, r3; | ^~~ main.c:88:17: warning: 'mare' may be used uninitialized [-Wmaybe-uninitialized] 88 | r1 = mare % i; | ~~~^~~~~~~~~~ main.c:6:35: note: 'mare' was declared here 6 | int nr, a, b, c, mic, codt=0, mare, mij, r1, r2, prim=0, codd=0, r3; | ^~~~ main.c:89:17: warning: 'mij' may be used uninitialized [-Wmaybe-uninitialized] 89 | r2 = mij % i; | ~~~^~~~~~~~~ main.c:6:41: note: 'mij' was declared here 6 | int nr, a, b, c, mic, codt=0, mare, mij, r1, r2, prim=0, codd=0, r3; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb OK 10
2 1 ms 245 kb OK 10
3 1009 ms 249 kb Time limit exceeded 0
4 1009 ms 249 kb Time limit exceeded 0
5 1 ms 245 kb OK 10
6 1 ms 245 kb a) rezultat incorect; b) OK 3
7 1 ms 270 kb a) rezultat incorect; b) OK 3
8 1009 ms 249 kb Time limit exceeded 0
9 1 ms 245 kb OK 10
10 1009 ms 249 kb Time limit exceeded 0
Penalizare: 25% (pentru 5 submisie/ii) 25%
Punctaj total 34