二级C语言-求偶数和 摘要:解题思路:用%2写注意事项:是%2不是/2;参考代码:#include<bits/stdc++.h>using namespace std;int n,s,z;int main(){ cin>…… 题解列表 2022年05月05日 0 点赞 0 评论 134 浏览 评分:0.0
二级C语言-求偶数和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int t,n,a,s;int main(){ cin>>n;//输入 for(in…… 题解列表 2022年05月09日 0 点赞 0 评论 158 浏览 评分:0.0
二级C语言-求偶数和 摘要:解题思路:用%做注意事项:%2参考代码:#include<bits/stdc++.h>using namespace std;int n,s,z;int main(){ cin>>n; for…… 题解列表 2022年05月18日 0 点赞 0 评论 172 浏览 评分:0.0
大力解题,每天一练 摘要:解题思路:1、题意不是很明确,整数(unsigned int) n的长度是未知的,在这种情况下还需要输入n长度的数。2、n取值范围位 1-最大unsigned int(65535) ,这里仁者见仁智者…… 题解列表 2022年06月07日 0 点赞 0 评论 872 浏览 评分:0.0
数组累加法!!!!! 摘要:解题思路:注意事项:用2求模判断奇偶数参考代码:#include<stdio.h>int main(){ int n,sum=0; scanf("%d",&n); int a[n];…… 题解列表 2022年06月26日 0 点赞 0 评论 180 浏览 评分:0.0
编写题解 1058: 二级C语言-求偶数和 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n = 0; int i = 0; int sum = 0; scan…… 题解列表 2022年07月30日 0 点赞 0 评论 97 浏览 评分:0.0
1058: 二级C语言-求偶数和(很简单的东西) 摘要: #include int main() { int n; int sum=0; int a[100]; //通过…… 题解列表 2022年10月05日 0 点赞 0 评论 143 浏览 评分:0.0
1058: 二级C语言-求偶数和 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int main() { int n = 0, t = 0, s = 0…… 题解列表 2022年10月08日 0 点赞 0 评论 135 浏览 评分:0.0
二级C语言-求偶数和 摘要: #include #include #include #include using namespace std; int main() …… 题解列表 2022年10月14日 0 点赞 0 评论 161 浏览 评分:0.0
求偶数和,无数组!!(C语言) 摘要:解题思路:输入m循环判断,无数组(C语言)注意事项:无参考代码:#include<stdio.h>int main(){ int x,i,m,sum=0; scanf("%d",&x); for(i=…… 题解列表 2022年10月28日 0 点赞 0 评论 106 浏览 评分:0.0