Pagini recente »
Borderou de evaluare (job #107586)
|
Borderou de evaluare (job #667617)
|
Borderou de evaluare (job #382354)
|
Borderou de evaluare (job #678351)
|
Borderou de evaluare (job #646518)
Borderou de evaluare (job #646518)
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
|
2 ms
|
114 kb
|
OK
|
1
|
2
|
1 ms
|
114 kb
|
OK
|
3
|
3
|
1 ms
|
114 kb
|
OK
|
2
|
4
|
1 ms
|
114 kb
|
OK
|
3
|
5
|
9 ms
|
241 kb
|
OK
|
3
|
6
|
21 ms
|
245 kb
|
OK
|
2
|
7
|
1 ms
|
114 kb
|
Incorect
|
0
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
9
|
7 ms
|
245 kb
|
Incorect
|
0
|
10
|
14 ms
|
245 kb
|
OK
|
4
|
11
|
192 ms
|
774 kb
|
OK
|
4
|
12
|
76 ms
|
1032 kb
|
Incorect
|
0
|
13
|
385 ms
|
1294 kb
|
OK
|
5
|
14
|
106 ms
|
1294 kb
|
Incorect
|
0
|
15
|
524 ms
|
1691 kb
|
OK
|
3
|
16
|
557 ms
|
1818 kb
|
Incorect
|
0
|
17
|
639 ms
|
2080 kb
|
Incorect
|
0
|
18
|
186 ms
|
2215 kb
|
Incorect
|
0
|
19
|
793 ms
|
2478 kb
|
Incorect
|
0
|
20
|
207 ms
|
2478 kb
|
OK
|
5
|
21
|
850 ms
|
2478 kb
|
Incorect
|
0
|
22
|
220 ms
|
2473 kb
|
Incorect
|
0
|
23
|
221 ms
|
2478 kb
|
Incorect
|
0
|
24
|
1 ms
|
114 kb
|
OK
|
5
|
25
|
1 ms
|
114 kb
|
OK
|
5
|
26
|
734 ms
|
2609 kb
|
OK
|
5
|
Punctaj total
|
50
|