1127
来源:互联网 发布:新闻稿发布左盾网络 编辑:程序博客网 时间:2024/06/11 15:11
[提交][状态][讨论版]
题目描述
Consider a natural number N, your task is to determine if there exist two prime natural numberA and B fitting that A + B = 2N. Of course,A could equal to B(A > 0, B > 0).
输入
Each test case contains only one line, a natural number N (1 ≤ N ≤10^100) without leading zeros.
输出
If can you find such two prime numbers print “YES”, else print “NO”
(without the quotes).
样例输入
12
样例输出
NOYES
提示
来源
2012.2
#include<stdio.h>int main(){ int x; while(scanf("%d",&x)!=EOF) { if(x==1)printf("NO\n"); else printf("YES\n"); } return 0;}
0 0
- 1127
- 1127
- POJ 1127
- ZOJ-1127
- POJ-1127
- poj 1127
- PAT 1127
- POJ 1127
- 生日密码1127
- POJ 1127 Jack Straws
- Reading Note 1127
- poj 1127 Jack Straws
- 题目1127:简单密码
- 1127 判断完全数
- 1127图案打印
- 题目1127:简单密码
- 九度 1127
- ACdream 1127 Base Station
- sscanf的高级用法 正则表达式
- bzoj 3309: DZY Loves Math
- 基于easyPR和openalpr的车牌识别研究
- 51nod_1024 矩阵中不重复的元素(对数求解·)
- activeMQ性能优化--对象池管理connection
- 1127
- Java语言基础(六)之 —— 循环结构(while循环)
- 关于printf 输出字符串的内部运行猜测
- pushViewController自定义动画
- nginx 80 443 并存
- addEventListener()与handleEvent()
- 关于RecycleView中保证只有一个条目变化
- 31. SQL (1)
- shell脚本删除指定java进程