Pagini recente » Cod sursa (job #394802) | Borderou de evaluare (job #2134821) | Cod sursa (job #973552) | Borderou de evaluare (job #1540361) | Borderou de evaluare (job #2773691)
Borderou de evaluare (job #2773691)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:26:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(v[mid] == x && (mid == n || v[mid + 1] > x && !gasit)) {
~~~~~~~~~~~~~~~^~~~~~~~~
main.cpp:39:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(v[mid] <= x && (mid == n || v[mid + 1] > x && !gasit)) {
~~~~~~~~~~~~~~~^~~~~~~~~
main.cpp:52:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(v[mid] >= x && (mid == n || v[mid + 1] > x && !gasit)) {
~~~~~~~~~~~~~~~^~~~~~~~~
main.cpp:35:28: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout << poz << '\n';
^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | Incorect | 0 | 0 |
| 2 | 2ms | 131kb | Incorect | 0 | 0 |
| 3 | 3ms | 131kb | Incorect | 0 | 0 |
| 4 | 6ms | 131kb | Incorect | 0 | 0 |
| 5 | 27ms | 262kb | Incorect | 0 | 0 |
| 6 | 80ms | 786kb | Incorect | 0 |
| 7 | 120ms | 1179kb | Incorect | 0 | 0 |
| 8 | 105ms | 1179kb | Incorect | 0 |
| 9 | 123ms | 1179kb | Incorect | 0 |
| 10 | 136ms | 1179kb | Incorect | 0 |
| Punctaj total | 0 |