摘要:
LL mult(LL a, LL k, LL m){ LL res = 0; while(k){ if(k & 1LL) res = (res + a) % m; k >>= 1; a = (a << 1) % m; } return res; } 阅读全文
posted @ 2017-02-15 22:28
Heilce
阅读(284)
评论(0)
推荐(0)
摘要:
Problem Description When ?? was born, seven crows flew in and stopped beside him. In its childhood, ?? had been unfortunately fall into the sea. While 阅读全文
posted @ 2017-02-15 21:51
Heilce
阅读(342)
评论(0)
推荐(0)
摘要:
E. Devu and Flowers time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output Devu wants to decora 阅读全文
posted @ 2017-02-15 17:55
Heilce
阅读(445)
评论(0)
推荐(0)
摘要:
其中p为素数 待续 阅读全文
posted @ 2017-02-15 10:31
Heilce
阅读(158)
评论(0)
推荐(0)

浙公网安备 33010602011771号