摘要: 题目链接:https://nanti.jisuanke.com/t/25985 题目: Description: Goldbach's conjecture is one of the oldest and best-known unsolved problems in number theory 阅读全文
posted @ 2018-07-12 21:24 Dillonh 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/contest/472/problem/A 题目: 题意:哥德巴赫猜想是:一个大于2的素数一定可以表示为两个素数的和。此题则是将其修改为:一个大于等于12的数一定能表示为两个合数的和。 思路:这个很容易,下面是三种方法的代码。 奇偶法:一个数要么 阅读全文
posted @ 2018-07-12 21:20 Dillonh 阅读(322) 评论(0) 推荐(0) 编辑