ques: https://www.hackerearth.com/practice/algorithms/searching/binary-search/practice-problems/algorithm/simple-game-17/↵
↵
can anyone tell me why java code is not working,↵
but same logic in c++ is getting accepted↵
↵
c++ :↵
https://www.hackerearth.com/submission/16444630/↵
↵
↵
↵
java:↵
https://www.hackerearth.com/submission/16444692/
↵
can anyone tell me why java code is not working,↵
but same logic in c++ is getting accepted↵
↵
c++ :↵
https://www.hackerearth.com/submission/16444630/↵
↵
↵
↵
java:↵
https://www.hackerearth.com/submission/16444692/