Pagini recente »
Borderou de evaluare (job #24265)
|
Clasament 2023-10-01-clasa-8-tema-3
|
Borderou de evaluare (job #693477)
|
Borderou de evaluare (job #819162)
|
Borderou de evaluare (job #646516)
Borderou de evaluare (job #646516)
Raport evaluator
Compilare:
main.c:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas]
1 | #pragma warning(disable: 4996)
|
main.c: In function 'binarySearch':
main.c:23:25: warning: self-comparison always evaluates to true [-Wtautological-compare]
23 | if (dr[mij] & x == x)
| ^~
main.c:23:25: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
23 | if (dr[mij] & x == x)
| ~~^~~~
main.c: In function 'main':
main.c:32:28: warning: variable 'right' set but not used [-Wunused-but-set-variable]
32 | int n, i, j, q, x, right, inno, poz;
| ^~~~~
main.c:32:25: warning: unused variable 'x' [-Wunused-variable]
32 | int n, i, j, q, x, right, inno, poz;
| ^
main.c:32:22: warning: unused variable 'q' [-Wunused-variable]
32 | int n, i, j, q, x, right, inno, poz;
| ^
main.c:32:19: warning: unused variable 'j' [-Wunused-variable]
32 | int n, i, j, q, x, right, inno, poz;
| ^
main.c:35:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | fscanf(fin, "%d%d", &n, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:38:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | fscanf(fin, "%d", &v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
OK
|
3
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
2 ms
|
376 kb
|
OK
|
3
|
6
|
1 ms
|
118 kb
|
OK
|
2
|
7
|
1 ms
|
114 kb
|
Incorect
|
0
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
9
|
10 ms
|
249 kb
|
Incorect
|
0
|
10
|
1 ms
|
118 kb
|
Incorect
|
0
|
11
|
55 ms
|
774 kb
|
Incorect
|
0
|
12
|
80 ms
|
1032 kb
|
Incorect
|
0
|
13
|
112 ms
|
1294 kb
|
Incorect
|
0
|
14
|
96 ms
|
1294 kb
|
Incorect
|
0
|
15
|
145 ms
|
1687 kb
|
Incorect
|
0
|
16
|
159 ms
|
1818 kb
|
Incorect
|
0
|
17
|
187 ms
|
2084 kb
|
Incorect
|
0
|
18
|
178 ms
|
2211 kb
|
Incorect
|
0
|
19
|
221 ms
|
2478 kb
|
Incorect
|
0
|
20
|
212 ms
|
2473 kb
|
OK
|
5
|
21
|
243 ms
|
2473 kb
|
Incorect
|
0
|
22
|
213 ms
|
2473 kb
|
Incorect
|
0
|
23
|
216 ms
|
2478 kb
|
Incorect
|
0
|
24
|
1 ms
|
114 kb
|
OK
|
5
|
25
|
1 ms
|
114 kb
|
OK
|
5
|
26
|
223 ms
|
2478 kb
|
OK
|
5
|
Punctaj total
|
28
|