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