high guys, i am new in competetive programming and has learned C for nearly 9 months(i am only in class eight). one week ago, i learned binary search and solved these problems.(i got trouble solving each of them as i haven't got the pattern what i learned(searching for a number)).
please any tutorial for solving these kind of complicated binary search problem.
right now i am struggling to get a binary search solution of this 1073D - Berland Fair. how i can implement binary search on it(although i solved it another way). sorry for my poor english.