![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
欧几里得
veget_chicken
这个作者很懒,什么都没留下…
展开
-
Looooops
链接:http://acm.hust.edu.cn/vjudge/problem/21464/origin 题目:A Compiler Mystery: We are given a C-language style for loop of type for (variable = A; variable != B; variable += C) statement; I.e原创 2016-08-31 21:24:36 · 262 阅读 · 0 评论 -
又见GCD
链接:http://acm.hust.edu.cn/vjudge/problem/25715/origin 题目:有三个正整数a,b,c(0 题意:。 分析:数据不是很大,其实可以从2*b开始枚举,用gcd(辗转相除)的快捷方法验证的 (图转,侵删。。) 我用了比较笨的方法:把a和b分解质因数,再从a中把b的质因数剔除出去,然后开始从小枚举选择c除去b的质因数(只要不出现原创 2016-09-04 15:55:45 · 497 阅读 · 0 评论 -
Joty and Chocolate
链接:http://acm.hust.edu.cn/vjudge/problem/401744/origin 题目: Little Joty has got a task to do. She has a line of n tiles indexed from 1 to n. She has to paint them in a strange pattern. An unp原创 2016-09-04 16:59:41 · 408 阅读 · 0 评论