2298: 蓝桥杯2018年第九届真题-防御力 摘要:```python def cmp(x):return x[1] n1,n2 = map(int, input().split()) a = list(map(int,input().split…… 题解列表 2023年12月24日 1 点赞 0 评论 248 浏览 评分:0.0
编写题解 2751: 超级玛丽游戏 摘要:解题思路: ******** ************ ####....#. #..###.....##.... …… 题解列表 2023年12月24日 0 点赞 1 评论 245 浏览 评分:8.0
编写题解 2812: 球弹跳高度的计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int h;scanf("%d",&h);int i;double h1=h;double s=0;for(i=1…… 题解列表 2023年12月24日 0 点赞 0 评论 197 浏览 评分:0.0
编写题解 2811: 救援 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> #include <stdlib.h> // 计算时间的函数 floa…… 题解列表 2023年12月24日 0 点赞 0 评论 224 浏览 评分:0.0
运用第三方排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,x; scanf ("%d%d%d",&a,&b,&c); if (a>b) x = a; …… 题解列表 2023年12月24日 0 点赞 0 评论 181 浏览 评分:0.0
欢迎交流指正 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<math.h>using namespace std;int main() { int a[100], m, n,s…… 题解列表 2023年12月24日 0 点赞 0 评论 404 浏览 评分:0.0
完数的判断 摘要:#include<stdio.h>int main(){ int i,j,N; int l; int m; int a[100]; int sum=0; scanf…… 题解列表 2023年12月24日 0 点赞 0 评论 191 浏览 评分:9.9
题解 1764: 循环入门练习1 摘要:解题思路:利用高斯的求数方法,没想到对了。注意事项:直接输出结果就行参考代码:#include <bits/stdc++.h>using namespace std;int main(){ co…… 题解列表 2023年12月24日 0 点赞 0 评论 211 浏览 评分:9.9
恒定义找最大数 摘要:解题思路:根据题目为三个数利用三目运算符求最大值注意事项:函数:注意返回值应该为浮点型参考代码:#include<stdio.h>#define MAX(a,b) (a>b?a:b)float c…… 题解列表 2023年12月23日 0 点赞 0 评论 171 浏览 评分:0.0
恒定义之闰年判断[c] 摘要:解题思路: 闰年 判断y%4==0&&y%100!=0||y%400==0?'L':'N' 注意事项:参考代码: #include<stdio.h> …… 题解列表 2023年12月23日 0 点赞 0 评论 160 浏览 评分:0.0