I am getting "Accepted" when I am using C++ lower_bound function -> Submission
I am getting wrong answer using the binary search -> Submission
Can somebody please help?
# | User | Contrib. |
---|---|---|
1 | awoo | 180 |
2 | -is-this-fft- | 178 |
3 | nor | 169 |
4 | Um_nik | 168 |
5 | SecondThread | 164 |
6 | maroonrk | 163 |
7 | adamant | 162 |
8 | kostka | 161 |
9 | YouKn0wWho | 158 |
10 | antontrygubO_o | 154 |
I am getting "Accepted" when I am using C++ lower_bound function -> Submission
I am getting wrong answer using the binary search -> Submission
Can somebody please help?
Name |
---|
26367835 — Accepted, I just changed
ll getPos(int index)
toll getPos(ll index)