Borderou de evaluare (job #807473)

Utilizator avatar MirceaDiaconu Diaconu Mircea Alexandru MirceaDiaconu IP ascuns
Problemă Accesibil (clasa a 6-a) Compilator c-32
Rundă Concurs 07 | IQ Academy | clasa a 6-a Status evaluat
Dată 1 feb. 2025 18:59:52 Scor 70

Raport evaluator

Compilare: main.c: In function 'main': main.c:87:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 87 | if(k = 2){ | ^ main.c:91:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 91 | if(k = 3){ | ^ main.c:95:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 95 | if(k = 4){ | ^ main.c:99:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 99 | if(k = 5){ | ^ main.c:103:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 103 | if(k = 6){ | ^ main.c:107:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 107 | if(k = 7){ | ^ main.c:111:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 111 | if(k = 8){ | ^ main.c:115:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 115 | if(k = 9){ | ^ main.c:8:27: warning: unused variable 'j' [-Wunused-variable] 8 | int n, k, i, nr, cnt, j, cnr, ok, cif, c, ma, mi, x, y; | ^ main.c:8:15: warning: unused variable 'i' [-Wunused-variable] 8 | int n, k, i, nr, cnt, j, cnr, ok, cif, c, ma, mi, x, y; | ^ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d%d%d", &c, &k, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:13:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d", &nr); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:43:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | fscanf(fin, "%d", &nr); | ^~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 507 kb OK 5
3 39 ms 249 kb OK 5
4 49 ms 249 kb OK 5
5 49 ms 507 kb OK 5
6 49 ms 512 kb OK 5
7 1 ms 507 kb OK 5
8 1 ms 266 kb OK 5
9 1 ms 507 kb OK 5
10 1 ms 245 kb OK 5
11 409 ms 249 kb Time limit exceeded 0
12 409 ms 249 kb Time limit exceeded 0
13 409 ms 249 kb Time limit exceeded 0
14 409 ms 270 kb Time limit exceeded 0
15 1 ms 270 kb Incorect 0
16 1 ms 512 kb Incorect 0
17 119 ms 245 kb OK 5
18 109 ms 249 kb OK 5
19 1 ms 507 kb OK 5
20 49 ms 512 kb OK 5
Punctaj total 70