随笔分类 -  数学基础-基本技巧

摘要:题目链接:https://code.google.com/codejam/contest/32016/dashboard#s=p0Minimum Scalar ProductThis contest is open for practice. You can try ... 阅读全文
posted @ 2018-05-13 10:56 GoldenFingers 阅读(181) 评论(0) 推荐(0) 编辑
摘要:Semi-prime H-numbersTime Limit: 1000MS Memory Limit: 65536K Total Submissions: 10466 Accepted: 4665DescriptionThis problem... 阅读全文
posted @ 2018-04-07 09:22 GoldenFingers 阅读(131) 评论(0) 推荐(0) 编辑
摘要:Raising Modulo NumbersTime Limit: 1000MS Memory Limit: 30000K Total Submissions: 9512 Accepted: 5783DescriptionPeople are dif... 阅读全文
posted @ 2018-04-06 11:37 GoldenFingers 阅读(118) 评论(0) 推荐(0) 编辑
摘要:Pseudoprime numbersTime Limit: 1000MS Memory Limit: 65536K Total Submissions: 11470 Accepted: 4947DescriptionFermat’s theo... 阅读全文
posted @ 2018-04-06 11:26 GoldenFingers 阅读(124) 评论(0) 推荐(0) 编辑
摘要:X-factor ChainsTime Limit: 1000MS Memory Limit: 65536K Total Submissions: 7986 Accepted: 2546DescriptionGiven a positive inte... 阅读全文
posted @ 2018-03-31 18:29 GoldenFingers 阅读(285) 评论(0) 推荐(0) 编辑
摘要:Prime NumberTime limit 1000 ms Memory limit 131072 kBProblem DescriptionWrite a program which reads an integer n and prints the number... 阅读全文
posted @ 2018-03-31 17:24 GoldenFingers 阅读(180) 评论(0) 推荐(0) 编辑
摘要:原题链接:http://poj.org/problem?id=2429GCD & LCM InverseTime Limit: 2000MS Memory Limit: 65536K Total Submissions: 17639 Accep... 阅读全文
posted @ 2018-03-31 17:08 GoldenFingers 阅读(219) 评论(0) 推荐(0) 编辑
摘要:D. A Determined Cleanuptime limit per test1 second memory limit per test256 megabytesProblem DescriptionIn order to put away old thing... 阅读全文
posted @ 2018-02-26 20:16 GoldenFingers 阅读(132) 评论(0) 推荐(0) 编辑
摘要:传送门:http://codeforces.com/problemset/problem/16/CMonitortime limit per test0.5 second memory limit per test64 megabytesProblem Descrip... 阅读全文
posted @ 2018-01-19 17:16 GoldenFingers 阅读(323) 评论(0) 推荐(0) 编辑
摘要:Power of CryptographyTime Limit: 1000MS Memory Limit: 30000KDescriptionCurrent work in cryptography involves (among other things)... 阅读全文
posted @ 2017-12-03 19:44 GoldenFingers 阅读(166) 评论(0) 推荐(0) 编辑
摘要:B. The Eternal Immortality题目链接http://codeforces.com/contest/869/problem/B 解题心得:题意就是给出a,b,问(a!)/(b!)的个位数,要注意0,5两个数,只要a,b相差超过5个位数就只能是0,其... 阅读全文
posted @ 2017-10-08 16:22 GoldenFingers 阅读(98) 评论(0) 推荐(0) 编辑
摘要:FactorialProblem DescriptionThe most important part of a GSM network is so called Base Transceiver Station (BTS). These transceivers f... 阅读全文
posted @ 2017-07-30 16:05 GoldenFingers 阅读(162) 评论(0) 推荐(0) 编辑
摘要:完数Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem Description完数的定义:如果一个大于1的正整数的所有因子之和等于它的本身... 阅读全文
posted @ 2017-07-29 20:52 GoldenFingers 阅读(177) 评论(0) 推荐(0) 编辑
摘要:F(N)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5062 Accepted Submissi... 阅读全文
posted @ 2017-07-29 20:43 GoldenFingers 阅读(193) 评论(0) 推荐(0) 编辑
摘要:Max FactorTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem DescriptionTo improve the organiz... 阅读全文
posted @ 2017-07-29 19:38 GoldenFingers 阅读(193) 评论(0) 推荐(0) 编辑
摘要:Examtime limit per test 1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAn exam for n students will ... 阅读全文
posted @ 2017-07-06 21:24 GoldenFingers 阅读(202) 评论(0) 推荐(0) 编辑
摘要:HamburgersTime Li... 阅读全文
posted @ 2017-07-02 19:43 GoldenFingers 阅读(224) 评论(0) 推荐(0) 编辑
摘要:题目:1026: 丑数 Time Limit: 1000 MS Memory Limit: 65536 KBTotal Submit: 257 Accepted: 112 Page View: 1467Submit Status Discuss Description... 阅读全文
posted @ 2017-06-25 09:44 GoldenFingers 阅读(205) 评论(0) 推荐(0) 编辑
摘要:题目:Last non-zero Digit in N!Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 79... 阅读全文
posted @ 2017-06-24 14:08 GoldenFingers 阅读(165) 评论(0) 推荐(0) 编辑
摘要:两种方法,第一种是将所有的素数筛选出来,第二种直接循环就行了(第二种更加的高效)。第一种方法其实就是先将素数筛选出来然后再计算,第二种是直接计算。第一种的代码#includeusing namespace std;const int Max = 1e7+7;bool ... 阅读全文
posted @ 2017-06-09 17:10 GoldenFingers 阅读(2648) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示