Pagini recente » Borderou de evaluare (job #1895107) | Borderou de evaluare (job #2358475) | Borderou de evaluare (job #2273220) | Borderou de evaluare (job #1114472) | Borderou de evaluare (job #2891542)
Borderou de evaluare (job #2891542)
Raport evaluator
Compilare:
main.cpp: In function 'int binary_search(int)':
main.cpp:24:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
24 | for (step = 1; step <= max_value; step <<= 1);
| ^~~
main.cpp:25:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
25 | for (i = min_value; step; step >>= 1)
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | OK | 10 |
2 | 1ms | 184kb | OK | 10 |
3 | 1ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 35ms | 290kb | OK | 10 |
6 | 16ms | 307kb | OK | 10 |
7 | 23ms | 405kb | OK | 10 |
8 | 1ms | 184kb | Incorect | 0 |
9 | 7ms | 438kb | Incorect | 0 |
10 | 1ms | 184kb | Incorect | 0 |
Punctaj total | 70 |