A RTE problem in problem 1278C
I just find the nearest different number and if we can't choose the more jars choose the jar with smaller d[] array.Then I got RTE,can you help me?
problem C my code