#P1579. 哥德巴赫猜想(升级版)
哥德巴赫猜想(升级版)
Description
Now please write a program to verify Goldbach's conjecture.
Given an odd number , output primes whose sum equals the input odd number.
Input Format
Only one line, containing a positive odd integer , where .
Output Format
Only one line, output primes whose sum equals the input odd number. Adjacent primes are separated by a single space, and there is no space after the last prime. If the representation is not unique, output the scheme with the smallest first prime. If there are multiple such schemes, output the one that also has the smallest second prime.
2009
3 3 2003
Hint
Translated by ChatGPT 5
京公网安备 11011102002149号