二级c语言-计负均正--用Python求解----(Python) 摘要:遍历列表统计大于0的个数求平均值小于0的个数 ```python t=list(map(int,input().split())) s=list(map(int,input().split())…… 题解列表 2021年11月05日 0 点赞 0 评论 893 浏览 评分:9.9
复习一下switch分支语句 摘要:解题思路:注意事项:参考代码:#include<iostream>int s(double );int main(){ using std::cout; using std::cin; doub…… 题解列表 2021年11月06日 0 点赞 0 评论 619 浏览 评分:9.9
1121: C语言训练-8除不尽的数 摘要:解题思路:if语句注意事项:参考代码:#include<stdio.h>int main(){ int n; for(n=9;n<2000;n++) { if(n%8==1) i…… 题解列表 2021年11月06日 0 点赞 0 评论 654 浏览 评分:9.9
1087我的主宰好困C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int a,b;while (~scanf("%d %d",&a,&b)) { if (a!=0||b!=0…… 题解列表 2021年11月06日 0 点赞 1 评论 603 浏览 评分:9.9
对于初学者来说这个比较合适 摘要:解题思路:注意事项:参考代码#include<math.h>int main(){ double M,N; double h,s; scanf("%lf%lf",&M,&N); h=pow(0.5,N…… 题解列表 2021年11月06日 0 点赞 0 评论 409 浏览 评分:9.9
编写题解 1570: 蓝桥杯算法提高VIP-输出九九乘法表(投机,简单快速完成) 摘要:解题思路:这种不用输入且是固定输出的,在答题时可以投机,答案正确即可,直接打印出结果就行注意事项:一般打印的东西含有很多符号是,打印输出建议用三引号参考代码:print('''…… 题解列表 2021年11月06日 0 点赞 0 评论 450 浏览 评分:9.9
最小绝对值(python,详细注释!不懂可私信) 摘要:参考代码:lis=list(map(int,input().split())) #输入参数lis1=list(map(abs,lis)) #使列表全部加绝对值s=min(…… 题解列表 2021年11月06日 0 点赞 0 评论 960 浏览 评分:9.9
编写题解 1173: 计算球体积 摘要:解题思路:注意事项:注意4.0参考代码:#include<stdio.h>#include<math.h>#define PI 3.1415 int main(){ double R,V; while…… 题解列表 2021年11月06日 0 点赞 0 评论 1010 浏览 评分:9.9
自定义函数之数字后移【题解】 摘要:假如我往后移动m个数,我先把后面的m个数放到一个新的数组的前面,m在a数组中也就是排在x-m位,x是我输入数的个数。排完之后把前面的x-m-1个数往新数组的后面排即可。 **本题难点在于数字在数组的…… 题解列表 2021年11月06日 0 点赞 0 评论 389 浏览 评分:9.9
1850没想到大意在换行上面C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int a,b,c;while (~scanf ("%d/%d/%d",&a,&b,&c)) { …… 题解列表 2021年11月07日 0 点赞 0 评论 452 浏览 评分:9.9