Pagini recente » Borderou de evaluare (job #3031939) | Borderou de evaluare (job #56371) | Borderou de evaluare (job #3271329) | Borderou de evaluare (job #2919393) | Borderou de evaluare (job #3287040)
Borderou de evaluare (job #3287040)
Raport evaluator
Compilare:
main.cpp: In function 'int binary_search(int, int)':
main.cpp:23:12: warning: 'ans' may be used uninitialized [-Wmaybe-uninitialized]
23 | return ans;
| ^~~
main.cpp:15:25: note: 'ans' was declared here
15 | int l = 1, r = len, ans;
| ^~~
main.cpp: In function 'int main()':
main.cpp:40:54: warning: 'ans' may be used uninitialized [-Wmaybe-uninitialized]
40 | p[i] = binary_search(v[i], len), d[p[i]] = v[i];
| ~~~~~~~~^~~~~~
main.cpp:15:25: note: 'ans' was declared here
15 | int l = 1, r = len, ans;
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | Corect! | 10 | 10 |
2 | 0ms | 303kb | Subsir incorect! | 5 | 5 |
3 | 0ms | 303kb | Corect! | 10 | 10 |
4 | 0ms | 303kb | Corect! | 10 | 10 |
5 | 0ms | 303kb | Corect! | 10 | 10 |
6 | 0ms | 303kb | Corect! | 10 | 10 |
7 | 0ms | 303kb | Corect! | 10 | 10 |
8 | 9ms | 1081kb | Corect! | 10 | 30 |
9 | 5ms | 1081kb | Corect! | 10 |
10 | 9ms | 1081kb | Corect! | 10 |
Punctaj total | 95 |