
推公式
bfcx
这个作者很懒,什么都没留下…
展开
-
【HDU - 3524】Perfect Squares(找规律,推公式,除法取模)
A number x is called a perfect square if there exists an integer bsatisfying x=b^2. There are many beautiful theorems about perfect squares in mathematics. Among which, Pythagoras Theorem is the mos...原创 2019-04-21 16:26:14 · 332 阅读 · 0 评论 -
【HDU - 1792】A New Change Problem(推公式、互质数的最大不能表示数)
Now given two kinds of coins A and B,which satisfy that GCD(A,B)=1.Here you can assume that there are enough coins for both kinds.Please calculate the maximal value that you cannot pay and the total n...原创 2019-04-27 22:02:11 · 316 阅读 · 0 评论