2001,好懂的方法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<math.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&…… 题解列表 2021年11月06日 0 点赞 0 评论 228 浏览 评分:0.0
自定义函数之数字后移【题解】 摘要:假如我往后移动m个数,我先把后面的m个数放到一个新的数组的前面,m在a数组中也就是排在x-m位,x是我输入数的个数。排完之后把前面的x-m-1个数往新数组的后面排即可。 **本题难点在于数字在数组的…… 题解列表 2021年11月06日 0 点赞 0 评论 248 浏览 评分:9.9
角谷猜想,简洁明了(c语言代码) 摘要:#include<stdio.h> int main() { int n; scanf("%d", &n); while (n != 1) { if (n % 2 == 0)…… 题解列表 2021年11月06日 0 点赞 0 评论 514 浏览 评分:7.7
编写题解 1173: 计算球体积 摘要:解题思路:注意事项:注意4.0参考代码:#include<stdio.h>#include<math.h>#define PI 3.1415 int main(){ double R,V; while…… 题解列表 2021年11月06日 0 点赞 0 评论 844 浏览 评分:9.9
[编程入门]成绩评定------【c语言】||【Python】 摘要:Python ```python n=int(input()) if n>=90: print('A') elif n>=80: print('B') elif n>=7…… 题解列表 2021年11月06日 0 点赞 0 评论 239 浏览 评分:0.0
最小绝对值(python,详细注释!不懂可私信) 摘要:参考代码:lis=list(map(int,input().split())) #输入参数lis1=list(map(abs,lis)) #使列表全部加绝对值s=min(…… 题解列表 2021年11月06日 0 点赞 0 评论 810 浏览 评分:9.9
编写题解 1570: 蓝桥杯算法提高VIP-输出九九乘法表(投机,简单快速完成) 摘要:解题思路:这种不用输入且是固定输出的,在答题时可以投机,答案正确即可,直接打印出结果就行注意事项:一般打印的东西含有很多符号是,打印输出建议用三引号参考代码:print('''…… 题解列表 2021年11月06日 0 点赞 0 评论 315 浏览 评分: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 评论 229 浏览 评分:9.9
求s=a+aa+aaa+aaaa+aa...a的值(两种解法,不懂可私信) 摘要:参考代码:代码一:a,n=map(int,input().split())sum,s=0,0for i in range(n): s=10*s+a sum+=sprint(sum)代码二:…… 题解列表 2021年11月06日 0 点赞 0 评论 519 浏览 评分:6.0
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 评论 484 浏览 评分:9.9