摘要:
E. Iahub and Permutations Iahub is so happy about inventing bubble sort graphs that he's staying all day long at the office and writing permutations. 阅读全文
posted @ 2017-09-22 18:19
logiccc
阅读(191)
评论(0)
推荐(1)
摘要:
统计方案 小B写了一个程序,随机生成了n个正整数,分别是a[1]..a[n],他取出了其中一些数,并把它们乘起来之后模p,得到了余数c。但是没过多久,小B就忘记他选了哪些数,他想把所有可能的取数方案都找出来。你能帮他计算一下一共有多少种取数方案吗?请把最后的方案数模1000000007后输出。小B记 阅读全文
posted @ 2017-09-22 18:04
logiccc
阅读(603)
评论(0)
推荐(3)

浙公网安备 33010602011771号