Borderou de evaluare (job #642044)

Utilizator avatar Hanganu_Rares Hanganu Rares Cont Fraudulent Hanganu_Rares IP ascuns
Problemă Ktlon (clasa a 5-a) Compilator c-32
Rundă Concurs 07 | IQ Academy | clasa a 5-a Status evaluat
Dată 19 mar. 2022 16:56:48 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:10:86: warning: variable 'maxpoz2' set but not used [-Wunused-but-set-variable] 10 | int C, n, k, a, maxi, maxi2, gasit, castiguri = 0, i, j, sf, sr, cnt, l, maxpoz, maxpoz2, s1, s2, ord, aux; | ^~~~~~~ main.c:18:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin, "%d%d%d", &C, &n, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:25:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:49:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 49 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:60:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:72:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:101:27: warning: 'maxpoz' may be used uninitialized in this function [-Wmaybe-uninitialized] 101 | R[maxpoz] = aux; | ~~~~~~~~~~^~~~~ main.c:104:26: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] 104 | for(j = 0; j < cnt; j++) { | ~~^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Incorect 0
2 1 ms 114 kb Incorect 0
3 1 ms 114 kb Incorect 0
4 51 ms 114 kb Incorect 0
5 293 ms 114 kb Incorect 0
6 317 ms 118 kb Incorect 0
7 328 ms 114 kb Incorect 0
8 1 ms 114 kb Incorect 0
9 1 ms 114 kb Incorect 0
10 1 ms 118 kb Incorect 0
11 16 ms 118 kb Incorect 0
12 67 ms 118 kb Incorect 0
13 682 ms 118 kb Incorect 0
14 1 ms 110 kb Incorect 0
15 708 ms 114 kb Time limit exceeded 0
16 700 ms 225 kb Time limit exceeded 0
17 704 ms 249 kb Time limit exceeded 0
18 708 ms 245 kb Time limit exceeded 0
19 704 ms 241 kb Time limit exceeded 0
20 705 ms 245 kb Time limit exceeded 0
Punctaj total 0