
大数取模
文章平均质量分 58
leoxry
天道酬勤,拼搏一个最好的自己送给未来的自己,每天开开心心敲代码就是一种幸福,不计得失,回归刚开始学习时内心的单纯
展开
-
sum of power——大数取模
Think: 1大数取模 2相似题目——可考虑快速幂优化SDUT题目链接sum of power Time Limit: 1000MS Memory Limit: 65536KBProblem Description Calculate mod (1000000000+7) for given n,m.Input Input contains two integers n,m(1≤n≤1原创 2017-05-11 21:25:59 · 736 阅读 · 0 评论 -
Parity check——打表找规律+大数取模
Think: 1打表找规律,寻找循环节 2字符串存储大数+大数取模SDUT题目链接Parity check Time Limit: 2000MS Memory Limit: 524288KBProblem Description Fascinated with the computer games, Gabriel even forgets to study. Now she needs t原创 2017-05-11 21:49:00 · 638 阅读 · 0 评论