a,b =map(int,input().split()) tot = 0 for x in range(a,b+1): if x % 2 == 0: tot = tot + 1 print(tot)
用數學算 你這樣迴圈跑那麼多次一定會超時