24 lines
377 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 哥德巴赫猜想的所有解
[问题描述]
教学案例,必须使用函数完成求解!
  求出哥德巴赫猜想的所有解将一个大于9的奇数拆分成三个素数之和并按从小到的顺序写出。
[输入格式]
  一行一个大于9的奇数。
[输出格式]
  第1行一个整数N表示解的总数。
  第2至N+1行每行一个解。
[输入样例]
15
[输出样例]
3
15=2+2+11
15=3+5+7
15=5+5+5