摘要: CowsTime Limit:3000MSMemory Limit:65536KTotal Submissions:14749Accepted:4879DescriptionFarmer John's cows have discovered that the clover growing alon... 阅读全文
posted @ 2015-08-24 23:05 BYYB_0506 阅读(195) 评论(0) 推荐(0) 编辑
摘要: D. Sum of Medianstime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn one well-known algorithm of ... 阅读全文
posted @ 2015-08-24 21:09 BYYB_0506 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 关于产生随机数的方法,网上有很多介绍,这里把自己学会的一种拿出来记录下。必备的头文件: # include # includesrand((unsigned)time(NULL));产生[a,b]内的随机数,其实可以通过rand()%(b-a+1)+a;# include# include# inc... 阅读全文
posted @ 2015-08-24 11:08 BYYB_0506 阅读(441) 评论(0) 推荐(0) 编辑