奇偶数之和(题目的意思是包括n的) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); int odd=0,even=0;//odd是…… 题解列表 2023年10月08日 0 点赞 0 评论 86 浏览 评分:0.0
3010: 奇偶数之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,s=0,d=0; cin>>n; …… 题解列表 2024年06月09日 0 点赞 0 评论 69 浏览 评分:0.0
奇偶求和!!! 摘要:解题思路:选判断奇数和偶数,再加就行了注意事项:参考代码:#include<stdio.h>int main(){ int n,odd=0,even=0; scanf("%d",&n); …… 题解列表 2023年11月25日 0 点赞 0 评论 77 浏览 评分:0.0