题解 1199: 哥德巴赫曾猜测

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

1199: 哥德巴赫曾猜测

摘要:解题思路:#include <bits/stdc++.h>using namespace std;int add(int n){    for(int i=2;i<n;i++)        if(n……

哥德巴赫曾猜测

摘要:解题思路:编写一个函数确认两个数是否非素数,并且利用循环得出次数注意事项:参考代码:#include<iostream>using namespace std;int fun(int );int ma……