Borderou de evaluare (job #658263)

Utilizator avatar Hanganu_Rares Hanganu Rares Cont Fraudulent Hanganu_Rares IP ascuns
Problemă Rubine (clasa a 6-a) Compilator c-32
Rundă concurs_boeriu_vs_hanganu1_vs_hanganu2_vasile_r3 Status evaluat
Dată 19 aug. 2022 15:06:44 Scor 57

Raport evaluator

Compilare: main.c: In function 'main': main.c:7:28: warning: unused variable 'jc' [-Wunused-variable] 7 | int n, k, p, a, d, i, j, jc, nrprime, l, pl, t, pt, mara, mihai, acl; | ^~ main.c:7:25: warning: variable 'j' set but not used [-Wunused-but-set-variable] 7 | int n, k, p, a, d, i, j, jc, nrprime, l, pl, t, pt, mara, mihai, acl; | ^ main.c:11:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d%d%d", &n, &k, &p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:59:10: warning: 'pt' may be used uninitialized in this function [-Wmaybe-uninitialized] 59 | if(c2[pt] == 0) { | ~~^~~~ main.c:56:9: warning: 'pl' may be used uninitialized in this function [-Wmaybe-uninitialized] 56 | if(c[pl] == 0) { | ~^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 241 kb a) OK; b) rez incorect; c) OK 6
2 1 ms 114 kb a) OK; b) OK; c) rez incorect 7
3 1 ms 380 kb OK 10
4 1 ms 249 kb a) OK; b) rez incorect; c) OK 6
5 1 ms 118 kb a) OK; b) OK; c) rez incorect 7
6 815 ms 1818 kb a) OK; b) OK; c) rez incorect 7
7 810 ms 1691 kb a) OK; b) OK; c) rez incorect 7
8 878 ms 1949 kb a) OK; b) OK; c) rez incorect 7
9 1504 ms 1949 kb Time limit exceeded 0
10 1508 ms 1560 kb Time limit exceeded 0
Punctaj total 57