最大公约数,最小公倍数 摘要:解题思路:先找最大公约数,在利用最小公倍数=两数乘积/最大公约数公式求解。注意事项:参考代码:#include<stdio.h>int zd(int m,int n){ int t; wh…… 题解列表 2023年12月26日 0 点赞 0 评论 204 浏览 评分:9.9
题解 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 评论 165 浏览 评分:0.0
题解 2881: 图像相似度 摘要: #include using namespace std; const int N=100; int a[N][N],b[N][N],n,m; doub…… 题解列表 2023年12月26日 0 点赞 0 评论 162 浏览 评分:0.0
python代码正确100%&&&&&&& 摘要:解题思路:注意事项:参考代码:a,n = map(int,input().split()) #使用map函数循环输入print(a**n)…… 题解列表 2023年12月26日 0 点赞 0 评论 296 浏览 评分:9.9
组合的输出(python) 摘要:解题思路:注意事项:参考代码:def combine(n, k): def backtrack(combination, start, n, k, res): if k == 0:…… 题解列表 2023年12月26日 0 点赞 0 评论 276 浏览 评分:0.0
海绵宝宝来学C~题解 1043: [编程入门]三个数字的排序 摘要:#####解题思路: 假设题目的是理想状态,输入的正整数都是不重复的 我们用简单的if-else函数判断就可以把3个数分别区别大小和排序了 #####if-else参考代码: ```c …… 题解列表 2023年12月26日 0 点赞 0 评论 205 浏览 评分:0.0
2864: 单词替换 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;class Main { public static void main(String[] args) { …… 题解列表 2023年12月26日 0 点赞 0 评论 199 浏览 评分:0.0
我的很简洁 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int max = -0x7fffffff; // 初始化最大值为负无穷 int num; …… 题解列表 2023年12月26日 0 点赞 0 评论 137 浏览 评分:0.0
合法C标识符 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;class Main { public static void main(String[] args) { …… 题解列表 2023年12月26日 0 点赞 0 评论 150 浏览 评分:0.0
递归求解java 摘要:解题思路:编写递归函数,在主函数中调用这个函数以便求得第n位与第n+1位的结果,将结果相除就ok啦注意事项:double与float的区别,java中float数据在第8位进行四舍五入,因此要用dou…… 题解列表 2023年12月26日 0 点赞 0 评论 267 浏览 评分:9.9