编写一个程序,输入a,b,c三个值,输出其中最大值。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c;scanf("%d%d%d",&a,&b,&c); if(a<c&&b<c){ …… 题解列表 2024年02月23日 0 点赞 0 评论 205 浏览 评分:9.9
类似1050题可解 摘要:解题思路:注意事项:部分地方还可以更精简参考代码:#include <stdio.h>#include <stdlib.h>typedef struct { char name[10]; char n…… 题解列表 2024年02月23日 0 点赞 0 评论 199 浏览 评分:9.9
家人们,这个题解超简单! 摘要:解题思路:将金银铜分别输入三次即可,并先输入比了多少天即可。注意事项:不能把a,b,c的输入写在外面。参考代码:#include <bits/stdc++.h>using namespace std;…… 题解列表 2024年02月23日 0 点赞 1 评论 197 浏览 评分:9.9
冶炼金属--超快解法 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>#include<algorithm>using namespace std;const int i…… 题解列表 2024年02月23日 0 点赞 0 评论 483 浏览 评分:9.9
蓝桥杯2022年第十三届决赛真题-最大数字-暴力解 摘要:解题思路:最大数字,尽量从第一位开始每一位都接近 9;如果果该位是9就不用管 1)该位 + 可增加的次数 a 是否会超过 9, 超过就可以让该位达到9,增加次数-让该位到9的次数2)该位 < 减少次数…… 题解列表 2024年02月24日 1 点赞 6 评论 1157 浏览 评分:9.9
矩阵加法python题解 摘要:解题思路:注意事项:参考代码:def matrix_add(matrix1,matrix2): result=[] rows1=len(matrix1) cols1=le…… 题解列表 2024年02月24日 0 点赞 0 评论 220 浏览 评分:9.9
大小写转换python标准题解 摘要:解题思路:注意事项:参考代码:def transform(astring): result='' for char in astring: if …… 题解列表 2024年02月24日 0 点赞 0 评论 267 浏览 评分:9.9
2841: 大整数加法python解法 摘要:解题思路:py可以直接处理大数注意事项:参考代码:a=int(input())b=int(input())print(a+b)…… 题解列表 2024年02月24日 0 点赞 0 评论 712 浏览 评分:9.9
2881: 图像相似度python解法 摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split()) A=[list(map(int,input().split()))for i in range(a)] B=…… 题解列表 2024年02月24日 0 点赞 0 评论 189 浏览 评分:9.9
用递归方法求阶乘 摘要:解题思路:写factorial( )函数利用递归求阶乘易知,x!=x*(x-1)!=x*(x-1)*(x-2)!=...=x*(x-1)*(x-2)*...*1因此,可以利用递归求得x!,即在fact…… 题解列表 2024年02月24日 0 点赞 0 评论 363 浏览 评分:9.9