ishu9bansal / ideone

useful pieces of codes
1 stars 1 forks source link

change the logic to handle INT_OVERFLOW case, for calculating middle value #2

Closed ishu9bansal closed 4 years ago

ishu9bansal commented 4 years ago

https://github.com/ishu9bansal/ideone/blob/c5628fb7a146cb07fb34fba5525e10c615c04f3a/binary_search/B0w11Y.cpp#L22-L30