2014年7月26日

摘要: Game PredictionSuppose there are M people, including you, playing a special card game. At the beginning, each player r... 阅读全文

posted @ 2014-07-26 17:03 alexanderone 阅读(249) 评论(0) 推荐(0)

摘要: Moving TablesThe famous ACM (Advanced Computer Maker) Company has rented a floor of a building who... 阅读全文

posted @ 2014-07-26 11:10 alexanderone 阅读(112) 评论(0) 推荐(0)

摘要: 就是练个手,白皮书的小东西。原题是要写N!/(M!*(N-M)!)他是先写F(n)的N!然后F(N)/(F(M)*F(N-M))但是这样会溢出。改一下,主要是习惯MAIN()外写函数然后调用#includeint f(int n,int m){int i,sum=1;for(i=n-m;i>0;i+... 阅读全文

posted @ 2014-07-26 09:12 alexanderone 阅读(113) 评论(0) 推荐(0)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3