编写题解 3010: 奇偶数之和 摘要:解题思路:注意事项:参考代码:n=int(input())j=0o=0for i in range(1,n+1): if i%2==0: o+=i else: …… 题解列表 2024年02月28日 0 点赞 0 评论 323 浏览 评分:0.0
奇偶数之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a=0,b=0; cin>>n; …… 题解列表 2023年07月01日 0 点赞 0 评论 293 浏览 评分:0.0
3010: 奇偶数之和(超简单) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; long long…… 题解列表 2024年01月08日 0 点赞 0 评论 179 浏览 评分:0.0
奇偶数之和(题目的意思是包括n的) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); int odd=0,even=0;//odd是…… 题解列表 2023年10月08日 0 点赞 0 评论 232 浏览 评分:0.0
新手简单快速解决!!! 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n = 0, x = 0, y = 0; cin …… 题解列表 2023年11月05日 0 点赞 0 评论 281 浏览 评分:0.0