摘要: Mayor's posters Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 56958 Accepted: 16464 Description The citizens of Bytetown, AB, could not s 阅读全文
posted @ 2016-06-29 12:57 keshuqi 阅读(165) 评论(0) 推荐(0) 编辑
摘要: C/C++怎样产生随机数:这里要用到的是rand()函数, srand()函数,C语言/C++里没有自带的random(int number)函数。如果你只要产生随机数而不需要设定范围的话,你只要用rand()就可以了:rand()会返回一随机数值, 范围在0至RAND_MAX 间。RAND_MAX 阅读全文
posted @ 2016-06-29 11:54 keshuqi 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 敌兵布阵 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 72626 Accepted Submission(s): 30426 Problem 阅读全文
posted @ 2016-06-29 09:58 keshuqi 阅读(107) 评论(0) 推荐(0) 编辑