求1+2+3+...+n的值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n; long long s=0; scanf("%d",&n); …… 题解列表 2023年01月07日 0 点赞 0 评论 479 浏览 评分:9.9
2783:判断是否为两位数 摘要:解题思路:运用if语句,很简单啦注意事项:注意输出形式是0和1参考代码:#include<stdio.h>int main(){ int a; scanf("%d", &a); in…… 题解列表 2023年01月07日 0 点赞 0 评论 363 浏览 评分:0.0
编写题解 1387: 陈教主的三角形 摘要:解题思路:注意事项:参考代码://行测试数据,每行包含两个整数a和b(0<a,b<=100),表示长方形的长和宽。当a和b同时为0时,表示输入结束 #include<stdio.h> int ma…… 题解列表 2023年01月07日 0 点赞 0 评论 447 浏览 评分:9.9
1952:求长方形面积 摘要:解题思路:表示两个变量,输出两个值注意事项:格式要正确哦,A B之间要有空格哒参考代码:#include<stdio.h>int main(){ int A,B; scanf("%d %d…… 题解列表 2023年01月07日 0 点赞 0 评论 392 浏览 评分:0.0
找出最长的字符串来 摘要:解题思路:1、将输入的五个字符串放入一个列表2、将五个字符串的长度放入另一个列表求最值3、根据串长等于最大值输出对应的字符串注意事项:参考代码:L = []L1 = []for i in range(…… 题解列表 2023年01月07日 0 点赞 0 评论 436 浏览 评分:0.0
蓝桥杯算法提高VIP-求圆面积表面积体积 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define PI 3.1415926536int main(){ double s1,s2,s3,r; scan…… 题解列表 2023年01月07日 0 点赞 0 评论 447 浏览 评分:0.0
[编程入门]自定义函数之数字后移 摘要:参考代码:#include<stdio.h>int main(){ int b[100],a[100],i,n,j; scanf("%d",&n); for(i=0;i<n;i++)scanf("%d…… 题解列表 2023年01月07日 0 点赞 0 评论 490 浏览 评分:9.9
IKUN手把手教你 开关灯(小黑子勿进=_=||) 摘要:解题思路: 这里简单说一下吧,说到这里,请看我的优质答案!相信爱坤都能明白=_=||注意事项: 他这个输出的设置就很鸡贼,中间有逗号,最后没有逗号,所以又要我int kun…… 题解列表 2023年01月07日 0 点赞 1 评论 767 浏览 评分:8.7
用临时数组代替for里面套用sum求和函数 摘要:解题思路:注意事项:参考代码:"""for里面套用sum绝对超时采用建立临时数组(存放数据的和)"""num=eval(input())list1=list(map(int,input().split…… 题解列表 2023年01月07日 0 点赞 1 评论 371 浏览 评分:0.0
直接数学方法进行计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a,b,n,r,p,m,q; scanf("%lf %lf %lf…… 题解列表 2023年01月07日 1 点赞 0 评论 596 浏览 评分:9.9