公交车上客下客,什么时候车里容量最大
if __name__=="__main__":
num=int(raw_input())
myList=[]
max=0
count=0
for i in xrange(num):
inputVal=raw_input()
myList.append(list(map(int,inputVal.split())))
count=count-int(inputVal.split()[0])+int(inputVal.split()[1])
if(max<count):
max=count
print max
站在不同台阶,扔球,所有球落地后运行的长度
if __name__=="__main__":
#站在不同台阶,扔球,所有球落地后运行的长度
myList=list(map(int,raw_input().split()))
sumHigh=0
for i in xrange(4):
sumHigh=sumHigh+myList[i]
while((myList[i]//2)!=0):
print (myList[i]//2)
myList[i]=(myList[i]//2)
sumHigh=sumHigh+myList[i]*2
print ("sumHigh:%d" %sumHigh)
print sumHigh