CodeForces 1324D - Pair of Topics(二分查找)
The next lecture in a high school requires two topics to be discussed. The i-th topic is interesting by ai units for the teacher and by bi units for the students.The pair of topics i and j (i<j) i...