
同余定理
文章平均质量分 73
Bear1997
这个作者很懒,什么都没留下…
展开
-
【Lightoj】 1078-多少个可以整除
DescriptionIf an integer is not divisible by 2 or 5, some multiple of that number in decimal notation is a sequence of only a digit. Now you are given the number and the only allowable digit, you原创 2016-03-31 18:04:23 · 388 阅读 · 0 评论 -
【light-oj】-大数整除(字符串)
DescriptionGiven two integers, a and b, you should check whether a is divisible by b or not. We know that an integer a is divisible by an integer b if and only if there exists an integer c such原创 2016-04-05 15:58:30 · 445 阅读 · 0 评论 -
【杭电oj】-2099-整除的尾数(求未知的后两位)
Problem Description一个整数,只知道前几位,不知道末二位,被另一个整数除尽了,那么该数的末二位该是什么呢? Input输入数据有若干组,每组数据包含二个整数a,b(0 Output对应每组数据,将满足条件的所有尾数在一行内输出,格式见样本输出。同组数据的输出,其每个尾数之间空一格,行末没有空格。原创 2016-04-17 14:18:39 · 935 阅读 · 0 评论 -
【POJ】-1995-Raising Modulo Numbers(快速幂,同余定理)
Raising Modulo NumbersTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 6530 Accepted: 3863DescriptionPeople are different. Some secretly read magazines原创 2016-07-23 15:21:30 · 517 阅读 · 0 评论 -
【杭电-oj】-1212-Big Number(同余定理求余数)
Big NumberTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7150 Accepted Submission(s): 4931Problem DescriptionAs we know, Big原创 2016-07-18 15:57:27 · 480 阅读 · 0 评论 -
【Light-oj】-Integer Divisibility(同余定理)
1078 - Integer Divisibility PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBIf an integer is not divisible by 2 or 5, some multi原创 2016-07-30 17:25:42 · 406 阅读 · 0 评论