摘要: 2111: [ZJOI2010]Perm 排列计数 Description 称一个1,2,...,N的排列P1,P2...,Pn是Magic的,当且仅当2<=i<=N时,Pi>Pi/2. 计算1,2,...N的排列中有多少是Magic的,答案可能很大,只能输出模P以后的值 称一个1,2,...,N的 阅读全文
posted @ 2017-09-19 20:58 JSC! 阅读(215) 评论(0) 推荐(0) 编辑
摘要: Xiao Ming's Hope Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description Xiao Ming likes counting numbers 阅读全文
posted @ 2017-09-19 19:56 JSC! 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Saving Beans Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description Although winter is far away, squirre 阅读全文
posted @ 2017-09-19 19:23 JSC! 阅读(131) 评论(0) 推荐(0) 编辑