![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数学推导
WTIAW.TIAW
这个作者很懒,什么都没留下…
展开
-
Spreading the Wealth UVA - 11300 数学推导 思维 day1
A Communist regime is trying to redistribute wealth in a village. They have have decided to sit everyone around a circular table. First, everyone has converted all of their properties to coins of equa...原创 2019-08-31 14:02:43 · 165 阅读 · 0 评论 -
Graveyard UVALive - 3708思维数学 四舍五入 day1
Programming contests became so popular in the year 2397 that the governor of New Earck — the largest human-inhabited planet of the galaxy — opened a special Alley of Contestant Memories (ACM) at the l...原创 2019-08-31 14:54:48 · 199 阅读 · 0 评论 -
Java 母牛的故事 递推
传送门 思路:递推即可,我们可以发现第n天的小牛数是第n-1天的小牛数加第n-3天的小牛数和。 import java.util.Scanner; public class Main { static int diGui(int n) { if (n == 1) return 1; else if (n == 2) return 2; else if (n == 3...原创 2019-09-23 09:02:21 · 255 阅读 · 0 评论