恒定义之闰年判断[c] 摘要:解题思路: 闰年 判断y%4==0&&y%100!=0||y%400==0?'L':'N' 注意事项:参考代码: #include<stdio.h> …… 题解列表 2023年12月23日 0 点赞 0 评论 470 浏览 评分:0.0
恒定义找最大数 摘要:解题思路:根据题目为三个数利用三目运算符求最大值注意事项:函数:注意返回值应该为浮点型参考代码:#include<stdio.h>#define MAX(a,b) (a>b?a:b)float c…… 题解列表 2023年12月23日 0 点赞 0 评论 428 浏览 评分:0.0
题解 1764: 循环入门练习1 摘要:解题思路:利用高斯的求数方法,没想到对了。注意事项:直接输出结果就行参考代码:#include <bits/stdc++.h>using namespace std;int main(){ co…… 题解列表 2023年12月24日 0 点赞 0 评论 442 浏览 评分:9.9
完数的判断 摘要:#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 评论 435 浏览 评分:9.9
欢迎交流指正 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<math.h>using namespace std;int main() { int a[100], m, n,s…… 题解列表 2023年12月24日 0 点赞 0 评论 639 浏览 评分: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 评论 554 浏览 评分:0.0
编写题解 2811: 救援 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> #include <stdlib.h> // 计算时间的函数 floa…… 题解列表 2023年12月24日 0 点赞 0 评论 549 浏览 评分: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 评论 446 浏览 评分:0.0
编写题解 2751: 超级玛丽游戏 摘要:解题思路: ******** ************ ####....#. #..###.....##.... …… 题解列表 2023年12月24日 0 点赞 1 评论 527 浏览 评分:8.0
2298: 蓝桥杯2018年第九届真题-防御力 ```pythondefcmp(x):returnx[1]n1,n2=map(int,input().split())a=list(map(int,input().split()))b=list(map(int,input().split()))foriinrange(n1):a[i]=(i+1, 题解列表 2023年12月24日 1 点赞 0 评论 529 浏览 评分:0.0