随笔分类 - 数论
摘要:Brave balloonistsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 4934Accepted: 2074DescriptionTen mathematicians are flying on a balloon over...
阅读全文
摘要:转自大神博客:点击打开链接Java常用类库--大数处理类--BigInteger(2011-10-13 19:53:18)转载▼标签:java常用类库--大数处理类biginteger杂谈分类:JavaJava常用类库--大数处理类·操作整型:BigInteger类·操作小数:BigDecimal类...
阅读全文
摘要:思路: 枚举Reduced ID NumbersTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 8847 Accepted: 3552DescriptionT. Chur teaches various groups of stud...
阅读全文
摘要:1179 - Josephus ProblemPDF (English) Statistics ForumTime Limit: 2 second(s) Memory Limit: 32 MBThe historian Flavius Josephus relates how, in the Rom...
阅读全文
摘要:1148 - Mad CountingPDF (English) Statistics ForumTime Limit: 0.5 second(s) Memory Limit: 32 MBMob was hijacked by the mayor of the Town "TruthTown". M...
阅读全文
摘要:思路: 设输入的两个数分别为n和a,每一次所得到的数为update: 开始update=a,依次update分别为update*10+a,这样数据会超出范围,则update每次为update=(update*10+a)%n即可, 如果update=0,跳出循环; 只需证明:(update*10+a)...
阅读全文
摘要:Large DivisionTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmitStatusPracticeLightOJ 1214DescriptionGiven two integers, a and b...
阅读全文
摘要:Ekka DokkaTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmitStatusDescriptionEkka and his friend Dokka decided to buy a cake. Th...
阅读全文
摘要:Digits of FactorialTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmitStatusDescriptionFactorial of an integer is defined by the ...
阅读全文
摘要:Fibsieve`s Fantabulous BirthdayTime Limit:500MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmitStatusDescriptionFibsieve had a fantabulous (yes...
阅读全文
摘要:分拆素数和Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 2098Description把一个偶数拆成两个不同素数的和,有几种拆法呢?Input输入包含一些正的偶数...
阅读全文
摘要:快速幂Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionGiven a positive integer N, you should output the most r...
阅读全文

浙公网安备 33010602011771号