Borderou de evaluare (job #2912151)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:31:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
31 | if (v[mid] > x) ls = mid;
| ~~~~~~~^~~
main.cpp:35:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
35 | if (v[li] == x) ans = li;
| ~~~~~~^~~~
main.cpp:48:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
48 | if (v[mid] > x) ls = mid;
| ~~~~~~~^~~
main.cpp:65:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
65 | if (v[mid] < x) li = mid;
| ~~~~~~~^~~
main.cpp:18:26: warning: unused variable 'pos' [-Wunused-variable]
18 | int q, ans = -2, pos = 0;
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 184kb | OK | 10 | 10 |
2 | 1ms | 184kb | OK | 10 | 10 |
3 | 1ms | 184kb | OK | 10 | 10 |
4 | 2ms | 188kb | OK | 10 | 10 |
5 | 40ms | 368kb | OK | 10 | 20 |
6 | 62ms | 741kb | OK | 10 |
7 | 151ms | 1056kb | Incorect | 0 | 0 |
8 | 124ms | 1097kb | Incorect | 0 |
9 | 98ms | 1110kb | Incorect | 0 |
10 | 106ms | 1114kb | Incorect | 0 |
Punctaj total | 60 |