2864: 单词替换 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;class Main { public static void main(String[] args) { …… 题解列表 2023年12月26日 0 点赞 0 评论 203 浏览 评分:0.0
海绵宝宝来学C~题解 1043: [编程入门]三个数字的排序 摘要:#####解题思路: 假设题目的是理想状态,输入的正整数都是不重复的 我们用简单的if-else函数判断就可以把3个数分别区别大小和排序了 #####if-else参考代码: ```c …… 题解列表 2023年12月26日 0 点赞 0 评论 208 浏览 评分:0.0
组合的输出(python) 摘要:解题思路:注意事项:参考代码:def combine(n, k): def backtrack(combination, start, n, k, res): if k == 0:…… 题解列表 2023年12月26日 0 点赞 0 评论 281 浏览 评分:0.0
python代码正确100%&&&&&&& 摘要:解题思路:注意事项:参考代码:a,n = map(int,input().split()) #使用map函数循环输入print(a**n)…… 题解列表 2023年12月26日 0 点赞 0 评论 299 浏览 评分:9.9
题解 2881: 图像相似度 摘要: #include using namespace std; const int N=100; int a[N][N],b[N][N],n,m; doub…… 题解列表 2023年12月26日 0 点赞 0 评论 165 浏览 评分:0.0
题解 2886: 图像旋转 摘要: #include using namespace std; const int N=100; int a[N][N],b[N][N],n,m,c,z,maxx;…… 题解列表 2023年12月26日 0 点赞 0 评论 166 浏览 评分:0.0
最大公约数,最小公倍数 摘要:解题思路:先找最大公约数,在利用最小公倍数=两数乘积/最大公约数公式求解。注意事项:参考代码:#include<stdio.h>int zd(int m,int n){ int t; wh…… 题解列表 2023年12月26日 0 点赞 0 评论 209 浏览 评分:9.9
2905: 最大值和最小值的差 摘要:``` #include using namespace std; const int N=10010; int a[N],n,b,e,h; int main() { cin>>n; …… 题解列表 2023年12月26日 0 点赞 0 评论 249 浏览 评分:6.0
仅供自己学习参考 摘要:```c #include #include #define MAX_INT ~((unsigned int)0)>>1;//输出int型可以表示的最大值 int a[100][100],…… 题解列表 2023年12月26日 0 点赞 0 评论 355 浏览 评分:0.0
2823: 计算分数加减表达式的值 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> using namespace std; int main() { int n…… 题解列表 2023年12月26日 0 点赞 0 评论 244 浏览 评分:0.0