题解 1159: 偶数求和

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

筛选

for循环判断~

摘要: ``` #include #include #include #include using namespace std; const int Inf = 1e4; int M,N; ……

【偶数求和】C++代码

摘要:解题思路:方法比较笨,仅供参考参考代码:#include<iostream> using namespace std; int main() {     int n,m;     while……

编写题解 1159: 偶数求和

摘要:解题思路:分奇偶情况讨论注意事项:输出次数的计算参考代码:#include<iostream>using namespace std;int main(){    int n, m;    while……