【发布时间】:2014-02-15 19:18:49
【问题描述】:
如何计算 (A*B*C)%10000007 其中 A,B,C 最大为 10^18
【问题讨论】:
-
使用数学。您是否有一种特定的语言来尝试实现这一点?如果是这样,您需要用该语言标记问题,否则这注定要关闭。
-
您好,欢迎来到 stackoverflow.com。请花一些时间阅读FAQ,尤其是名为" What kind of questions can I ask here?" 和"What kind of questions should I not ask here?" 的部分。我还建议您阅读网站mattgemmell.com/2008/12/08/what-have-you-tried 和sscce.org。
标签: modulus