[编程入门]求和训练 摘要:一、解题思路:C参考代码:#include <stdio.h> int main() { double a, b, c, s1 = 0, s2 = 0, s3 = 0, s = 0; s…… 题解列表 2023年05月05日 0 点赞 0 评论 231 浏览 评分:0.0
终于也是会了这么经典的题目 摘要:解题思路:注意事项:偶数灯是开着,奇数灯是开着,其实不难啊,换个思路,一定要有思考的抽象的计算思维参考代码:n,m=map(int,input().split())l=[0 for i in rang…… 题解列表 2023年05月05日 0 点赞 0 评论 404 浏览 评分:0.0
实在是会的不用五分钟,不会的琢磨半天,考试咋办 摘要:解题思路:注意事项:参考代码:while True: try: n=input() ##p=[28.9,32.7,45.6,78,35,86.2,27.8,43,56…… 题解列表 2023年05月05日 0 点赞 2 评论 380 浏览 评分:0.0
格式输出问题太基本了基础不扎实 摘要:解题思路:注意事项:加油,每一种格式输出都要回参考代码:n=int(input())##p=[28.9,32.7,45.6,78,35,86.2,27.8,43,56,65]l=list(map(in…… 题解列表 2023年05月05日 0 点赞 0 评论 389 浏览 评分:0.0
1019题: 自由下落的距离计算 摘要:# 自己写的代码 ```c #include int main() { float m; int n; float num=0.00,sum=0.00; scanf("%f %…… 题解列表 2023年05月05日 0 点赞 0 评论 233 浏览 评分:0.0
太难了真是要自习看题目 摘要:解题思路:注意事项:参考代码:n=int(input())a=list(map(int,input().split()))x=int(input())for i in range(n): if …… 题解列表 2023年05月05日 0 点赞 0 评论 322 浏览 评分:0.0
巨简单,蓝桥杯算法提高VIP-数组替换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, m; scanf("%d%d", &n, &m); int array1[10000], arra…… 题解列表 2023年05月05日 0 点赞 0 评论 260 浏览 评分:0.0
1020题:猴子吃桃的问题 摘要:# 自己写的代码 ```c #include int main() { int n,sum=1; scanf("%d",&n); for(int i=1;i…… 题解列表 2023年05月05日 0 点赞 0 评论 312 浏览 评分:0.0
1021题: 迭代法求平方根 摘要:# 自己写的代码 这道题不会写 # 参考代码 ```c #include"stdio.h" #include"math.h" //包含fabs()函数的头文件,别忘了加 int ma…… 题解列表 2023年05月05日 0 点赞 0 评论 350 浏览 评分:0.0
1022题:筛选N以内的素数 摘要:# 自己写的代码 ```c #include int main() { int n; scanf("%d",&n); for(int i=2;i…… 题解列表 2023年05月05日 0 点赞 0 评论 218 浏览 评分:0.0