Pagini recente » Borderou de evaluare (job #2310410) | Borderou de evaluare (job #477911) | Borderou de evaluare (job #1399611) | Borderou de evaluare (job #777358) | Borderou de evaluare (job #2325371)
Borderou de evaluare (job #2325371)
Raport evaluator
Compilare:
main.cpp: In function 'int binary_search(int)':
main.cpp:10:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int step = start; step != 0; step >>= 1) if (at + step <= size && v[aux[at + step]] < x) at += step;
~~~~~~~~~~^~~~~~~
main.cpp: In function 'void increase_size()':
main.cpp:16:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (start <= size >> 1u) start <<= 1;
~~~~~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:28:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (x == size) increase_size();
~~^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | Corect! | 10 | 10 |
2 | 4ms | 131kb | Corect! | 10 | 10 |
3 | 2ms | 131kb | Corect! | 10 | 10 |
4 | 3ms | 131kb | Corect! | 10 | 10 |
5 | 3ms | 131kb | Corect! | 10 | 10 |
6 | 3ms | 131kb | Corect! | 10 | 10 |
7 | 3ms | 131kb | Corect! | 10 | 10 |
8 | 43ms | 917kb | Corect! | 10 | 30 |
9 | 36ms | 917kb | Corect! | 10 |
10 | 41ms | 917kb | Corect! | 10 |
Punctaj total | 100 |