RYIP在线题库
首 页   >   习题练习   >   提交
Problem1323--素数对

1323: 素数对

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

【 Description 】

两个相差为2 的素数成为素数对,5和7,17和19,求出不大于n的素数对,没有输出“empty”。

【 Input 】

输入一个n

【 Output 】

n以内的素数对

【 Sample Input 】

11

【 Sample Output 】

3 5
5 7

【 Source/Category 】