3010: 奇偶数之和题解 摘要:参考代码:#include<iostream>using namespace std;int main(){ int n,s=0,t=0; cin>>n; for(int i=1;i<=n…… 题解列表 2024年12月01日 1 点赞 0 评论 136 浏览 评分:9.9
3010: 奇偶数之和(使用到for循环语句) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(int argc, char *argv[]) { int n,i; int sum1=0,sum2=0…… 题解列表 2024年12月07日 0 点赞 0 评论 207 浏览 评分:10.0
编写题解 3010: 奇偶数之和 摘要:解题思路:注意事项:注意要定义两个不同的sum!参考代码:#include<bits/stdc++.h>using namespace std;int main(){ long long n;cin>…… 题解列表 2024年12月08日 0 点赞 2 评论 209 浏览 评分:9.9