作业帮 > 英语 > 作业

POJ ..> RT,求括号括起来那句的意思.> > For each test case,print one line

来源:学生作业帮 编辑:作业帮 分类:英语作业 时间:2024/09/02 21:10:40
POJ ..
> RT,求括号括起来那句的意思.
>
> For each test case,print one line of the form n = a + b,where a and b are odd primes.Numbers and operators should be separated by exactly one blank like in the sample output below.If there is more than one pair of odd primes adding up to n,【choose the pair where the difference b - a is maximized】.If there is no such pair,print a line saying "Goldbach's conjecture is wrong."
>
>
>
就是说如果有多个(a,b)数对满足n=a+b的话,那么选择差b-a最大的那一对.
就比如n=16时,可以是(3,13)或者(5,11)
那么选择输出(3,13)这一组,因为13-3=10,11-5=6,而10>6.