编写题解 1061: 二级C语言-计负均正 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[20]; int n=0,s=0,b=0; …… 题解列表 2021年12月09日 0 点赞 0 评论 271 浏览 评分:0.0
不需要数组,简单运算 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a=0 , n=0 , m=0; flo…… 题解列表 2021年12月16日 0 点赞 0 评论 195 浏览 评分:0.0
二级C语言-计负均正 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j; int n[20],m=0,c=0,sum=0; float avg; for(i=0;i<2…… 题解列表 2021年12月25日 0 点赞 0 评论 263 浏览 评分:0.0
二级C语言-计负均正(c语言代码) 摘要:解题思路: 因为需要输入20个数,故定义一个整型数组来储存; 用一个court来计算负数的个数,每检测到一个负数,court+1; &n 题解列表 2022年03月27日 0 点赞 0 评论 335 浏览 评分:0.0
二级C语言-计负均正(2022年4月9日17:17:32) 摘要:# include <stdio.h># include <malloc.h> int main(){ int i,n=0; int sum1=0; float sum2=0.0…… 题解列表 2022年04月09日 0 点赞 0 评论 218 浏览 评分:0.0
艰难的艰难 摘要:解题思路:注意事项:参考代码:int a[20],b=0; double bug=0; for(int i=0;i<20;i++) { scanf("%d",&a[i]); if(a[i…… 题解列表 2022年05月01日 0 点赞 0 评论 174 浏览 评分:0.0
通过for循环来求解 摘要:解题思路:注意事项:参考代码:list1=list(map(int,input().split()))list2=list(map(int,input().split()))list3=[]for i…… 题解列表 2022年05月01日 0 点赞 0 评论 344 浏览 评分:0.0
二级C语言-计负均正 摘要:解题思路:模拟注意事项:要用double参考代码:#include<bits/stdc++.h>using namespace std;long long a,fs;double zs,zh;int …… 题解列表 2022年05月09日 0 点赞 0 评论 158 浏览 评分:0.0
二级C语言-计负均正 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a,s;double t,t1;int main(){ for(…… 题解列表 2022年05月10日 0 点赞 0 评论 193 浏览 评分:0.0
如果不用两个map怎么办? 摘要:解题思路:注意事项:参考代码:s=list(map(int,input().strip().split()))x=list(map(int,input().strip().split()))coun=…… 题解列表 2022年05月13日 0 点赞 0 评论 195 浏览 评分:0.0