The 2020 ICPC Asia Shenyang Regional Programming Contest I题 Rise of Shadows(数论)
题目链接The2020ICPCAsiaShenyangRegionalProgrammingContest题目大意:一天内有H小时,每小时M分钟,时针分针以恒定速率旋转。现在若时针分针的夹角usingnamespacestd;#definelllonglong#defineintlonglongintn,a,b,c;//f(a,b,c,n)=sum(i,0,n)[(a*i+b)/c]//g(a,b