普普通通的恒定义求三角形面积 摘要:解题思路:按题意进行要加上数学函数math.h 和求平方根sqrt注意事项:都为小数参考代码: #include<stdio.h> #include<math.h> #define…… 题解列表 2023年12月23日 0 点赞 0 评论 132 浏览 评分:0.0
恒定义之闰年判断[c] 摘要:解题思路: 闰年 判断y%4==0&&y%100!=0||y%400==0?'L':'N' 注意事项:参考代码: #include<stdio.h> …… 题解列表 2023年12月23日 0 点赞 0 评论 128 浏览 评分:0.0
恒定义找最大数 摘要:解题思路:根据题目为三个数利用三目运算符求最大值注意事项:函数:注意返回值应该为浮点型参考代码:#include<stdio.h>#define MAX(a,b) (a>b?a:b)float c…… 题解列表 2023年12月23日 0 点赞 0 评论 137 浏览 评分:0.0
欢迎交流指正 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<math.h>using namespace std;int main() { int a[100], m, n,s…… 题解列表 2023年12月24日 0 点赞 0 评论 364 浏览 评分: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 评论 139 浏览 评分:0.0
编写题解 2811: 救援 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> #include <stdlib.h> // 计算时间的函数 floa…… 题解列表 2023年12月24日 0 点赞 0 评论 183 浏览 评分:0.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 评论 157 浏览 评分:0.0
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 评论 203 浏览 评分:0.0
for................................. 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2023年12月24日 0 点赞 0 评论 140 浏览 评分:0.0
菜鸡写法,嵌套循环遍历 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<string>#include<cstring>#include<algorithm>#include<cmath…… 题解列表 2023年12月24日 0 点赞 0 评论 205 浏览 评分:0.0