Borderou de evaluare (job #824605)

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ă 17 mai 2025 15:44:14 Scor 36

Raport evaluator

Compilare: main.c: In function 'main': main.c:66:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 66 | if(c < b) | ^~ main.c:68:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 68 | mij = b; | ^~~ 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:89:23: warning: 'mic' may be used uninitialized [-Wmaybe-uninitialized] 89 | 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:90:17: warning: 'mare' may be used uninitialized [-Wmaybe-uninitialized] 90 | 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:91:17: warning: 'mij' may be used uninitialized [-Wmaybe-uninitialized] 91 | 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 512 kb OK 10
2 1 ms 245 kb OK 10
3 1009 ms 249 kb Time limit exceeded 0
4 1005 ms 270 kb Time limit exceeded 0
5 1 ms 245 kb OK 10
6 1009 ms 249 kb Time limit exceeded 0
7 1 ms 270 kb a) rezultat incorect; b) OK 3
8 1006 ms 249 kb Time limit exceeded 0
9 1 ms 245 kb OK 10
10 1009 ms 270 kb Time limit exceeded 0
Penalizare: 15% (pentru 3 submisie/ii) 15%
Punctaj total 36