Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2328507)
| Utilizator | Data | 25 ianuarie 2019 20:35:57 | |
|---|---|---|---|
| Problema | Arbori indexati binar | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int BinarySearch(int*, int, int)':
main.cpp:104:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i + s <= size && val >= GetSum(arr, i + s)) i += s;
~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:105:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return ((i >= 1 && GetSum(arr, i) == val) ? i : -1);
~~~~~~~~~~~~~~~^~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 3ms | 131kb | OK | 10 |
| 3 | 9ms | 262kb | OK | 10 |
| 4 | 31ms | 393kb | OK | 10 |
| 5 | 66ms | 524kb | OK | 10 |
| 6 | 103ms | 786kb | OK | 10 |
| 7 | 114ms | 786kb | OK | 10 |
| 8 | 135ms | 1048kb | OK | 10 |
| 9 | 161ms | 1048kb | OK | 10 |
| 10 | 148ms | 1048kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
