Codeforces Round #305 (Div. 2)C---Mike and Frog(扩欧+乱搞)
Mikehasafrogandaflower.HisfrogisnamedXaniarandhisflowerisnamedAbol.Initially(attime0),heightofXaniarish1andheightofAbolish2.Eachsecond,MikewatersAbolandXaniar.So,ifheightofXaniarish1andheightofAbolish