
数论
文章平均质量分 70
Yi_Qing_Z
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Codeforces 837E Vasya's Function(数论、gcd)
题目原网页-> Codeforces 837E Vasya's Function 写这道题参考了->https://blog.youkuaiyun.com/calabash_boy/article/details/76652792 这道题不存在多组样例输入。一开始以为会有多组样例输入,打算预处理出1~1e6所有数的因数,非常非常麻烦。 当输入的x和y不互质的时候,需要先计算出gc=gc...原创 2018-08-07 20:27:42 · 433 阅读 · 0 评论 -
AtCoder - 4240 Candy Distribution
Problem Statement There are N boxes arranged in a row from left to right. The i-th box from the left contains Ai candies. You will take out the candies from some consecutive boxes and distribute the...转载 2018-09-06 20:48:44 · 473 阅读 · 0 评论