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 阅读(245) 评论(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 阅读(109) 评论(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 阅读(110) 评论(0) 推荐(0) 编辑


Copyright © 2024 alexanderone
Powered by .NET 8.0 on Kubernetes