随笔分类 -  数学 数论

摘要:F2. Wrong Answer on test 233 (Hard Version) Your program fails again. This time it gets "Wrong answer on test 233" . This is the harder version of the 阅读全文
posted @ 2019-11-24 23:26 qscqesze 阅读(674) 评论(0) 推荐(2) 编辑
摘要:C. Tile Painting Ujan has been lazy lately, but now has decided to bring his yard to good shape. First, he decided to paint the path from his house to 阅读全文
posted @ 2019-11-07 16:50 qscqesze 阅读(702) 评论(1) 推荐(3) 编辑
摘要:G. Polygons Description You are given two integers 𝑛 and 𝑘. You need to construct 𝑘 regular polygons having same circumcircle, with distinct number 阅读全文
posted @ 2019-09-02 00:20 qscqesze 阅读(330) 评论(0) 推荐(0) 编辑
摘要:D. Taxes 题目链接 http://codeforces.com/contest/735/problem/D 题面 Mr. Funt now lives in a country with a very specific tax laws. The total income of mr. Fu 阅读全文
posted @ 2016-12-13 11:11 qscqesze 阅读(457) 评论(0) 推荐(0) 编辑
摘要:D. Remainders Game 题目连接: http://www.codeforces.com/contest/688/problem/D Description Today Pari and Arya are playing a game called Remainders. Pari ch 阅读全文
posted @ 2016-06-30 20:36 qscqesze 阅读(875) 评论(0) 推荐(3) 编辑
摘要:Sum Of Gcd 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=4676 Description Given you a sequence of number a1, a2, ..., an, which is a permutation of 阅读全文
posted @ 2016-05-14 22:11 qscqesze 阅读(446) 评论(0) 推荐(0) 编辑
摘要:1040 最大公约数之和 题目连接: https://www.51nod.com/onlineJudge/questionCode.html !problemId=1040 Description 给出一个n,求1 n这n个数,同n的最大公约数的和。比如:n = 6 1,2,3,4,5,6 同6的最 阅读全文
posted @ 2016-04-18 22:43 qscqesze 阅读(375) 评论(0) 推荐(0) 编辑
摘要:1179 最大的最大公约数 题目连接: https://www.51nod.com/onlineJudge/questionCode.html !problemId=1179 Description 给出N个正整数,找出N个数两两之间最大公约数的最大值。例如:N = 4,4个数为:9 15 25 1 阅读全文
posted @ 2016-04-18 22:23 qscqesze 阅读(410) 评论(0) 推荐(0) 编辑
摘要:2818: Gcd 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=2818 Description 给定整数N,求1 using namespace std; const int maxn = 1e7+5; long long phi[m 阅读全文
posted @ 2016-04-18 11:12 qscqesze 阅读(397) 评论(0) 推荐(0) 编辑
摘要:1225 余数之和 题目连接: http://www.51nod.com/onlineJudge/questionCode.html !problemId=1225 Description F(n) = (n % 1) + (n % 2) + (n % 3) + ...... (n % n)。其中% 阅读全文
posted @ 2016-04-04 14:30 qscqesze 阅读(534) 评论(0) 推荐(1) 编辑
摘要:<center D. Multipliers</center 题目连接:http://codeforces.com/contest/615/problem/D DescriptionAyrat has number n, represented as it's prime factorizati... 阅读全文
posted @ 2016-01-09 10:51 qscqesze 阅读(636) 评论(0) 推荐(0) 编辑
摘要:LCM WalkTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5584DescriptionA frog has just learned some number theory,... 阅读全文
posted @ 2015-12-08 16:40 qscqesze 阅读(924) 评论(0) 推荐(0) 编辑
摘要:FrogsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5514DescriptionThere are m stones lying on a circle, and n fr... 阅读全文
posted @ 2015-11-03 18:04 qscqesze 阅读(2516) 评论(0) 推荐(5) 编辑
摘要:D. Dima and LisaTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/584/problem/DDescriptionDima loves representing an odd number ... 阅读全文
posted @ 2015-10-07 11:27 qscqesze 阅读(394) 评论(0) 推荐(0) 编辑
摘要:ReflectTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://bestcoder.hdu.edu.cn/contests/contest_chineseproblem.php?cid=628&pid=1003Description从镜面材质的圆上一点... 阅读全文
posted @ 2015-09-05 22:27 qscqesze 阅读(399) 评论(0) 推荐(0) 编辑
摘要:A. Bear and PokerTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/573/problem/ADescriptionLimak is an old brown bear. He often ... 阅读全文
posted @ 2015-08-30 10:45 qscqesze 阅读(417) 评论(0) 推荐(0) 编辑
摘要:BOPCTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hust.edu.cn/vjudge/contest/view.action?cid=86686#problem/DDescriptionYou invented a new chess... 阅读全文
posted @ 2015-08-07 19:21 qscqesze 阅读(564) 评论(0) 推荐(0) 编辑
摘要:C. Kyoya and Colored BallsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/554/problem/CDescriptionKyoya Ootori has a bag with ... 阅读全文
posted @ 2015-06-25 03:14 qscqesze 阅读(652) 评论(0) 推荐(0) 编辑
摘要:B. Vanya and BooksTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/552/problem/BDescriptionVanya got an important task — he sho... 阅读全文
posted @ 2015-06-19 11:13 qscqesze 阅读(614) 评论(0) 推荐(0) 编辑
摘要:B. Strings of PowerTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/318/problem/CDescriptionLet us call a pair of integer numbe... 阅读全文
posted @ 2015-06-14 11:14 qscqesze 阅读(345) 评论(0) 推荐(0) 编辑

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