考试复习计划的 # -*- coding:utf-8 -*- while True: n,sumtime = raw_input().split(" ") n = int(n) sumtime = int(sumtime) minls = [] maxls = [] while n: imin,imax = raw_input().split(" ") minls.append( int(imin) ) maxls.append(int(imax)) n-=1 if sum(maxls)< sumtime: p...