#25237: TLE怎解決?????


10755006@st.chjhs.tp.edu.tw (FF)


a,b =map(int,input().split())
tot = 0
for x in range(a,b+1):
    if x % 2 == 0:
        tot = tot + 1
print(tot)
#25238: Re:TLE怎解決?????


fire5386 (becaidorz)


a,b =map(int,input().split())
tot = 0
for x in range(a,b+1):
    if x % 2 == 0:
        tot = tot + 1
print(tot)


用數學算 你這樣迴圈跑那麼多次一定會超時