Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2609686)
| Utilizator | Data | 3 mai 2020 00:23:19 | |
|---|---|---|---|
| Problema | Cautare binara | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In function 'long long int cautbin()':
main.cpp:34:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (v[mij] == x && mij == (n - 1) || v[mij] == x && v[mij + 1] != x)
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:53:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (v[mij] <= x && mij == (n - 1) || v[mij] <= x && v[mij + 1] > x)
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:72:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (v[mij] >= x && mij == 0 || v[mij] >= x && v[mij - 1] < x)
~~~~~~~~~~~~^~~~~~~~~~~
main.cpp:85:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 2ms | 131kb | OK | 10 | 10 |
| 2 | 2ms | 131kb | OK | 10 | 10 |
| 3 | 3ms | 131kb | OK | 10 | 10 |
| 4 | 6ms | 131kb | OK | 10 | 10 |
| 5 | 29ms | 393kb | OK | 10 | 20 |
| 6 | 94ms | 917kb | OK | 10 | |
| 7 | 135ms | 1441kb | OK | 10 | 40 |
| 8 | 126ms | 1441kb | OK | 10 | |
| 9 | 145ms | 1441kb | OK | 10 | |
| 10 | 143ms | 1441kb | OK | 10 | |
| Punctaj total | 100 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
