摘要: Geometric Sum时间限制:1000ms | 内存限制:65535KB难度:3描述Compute (a + a^2 + … + a^n) mod m.(a+a2+…an)mod输入Three integers a,n,m.(1≤a,n,m≤10^18)It ends with EOF.输出T... 阅读全文
posted @ 2014-05-09 21:51 芷水 阅读(386) 评论(0) 推荐(0) 编辑