1446: 蓝桥杯2013年第四届真题-核桃的数量 摘要: $$GCD(A,B)\times LCM(A,B)=A\times B$$ ```cpp #include using namespace std; // 最大公约数 int GCD(…… 题解列表 2023年12月09日 1 点赞 0 评论 366 浏览 评分:9.9
C语言调用函数求阶乘 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>long long fun(int x){ long long y=0; if(x==1) retu…… 题解列表 2023年12月09日 0 点赞 0 评论 374 浏览 评分:9.9
2920: 分数线划定 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; struct u { string str; int…… 题解列表 2023年12月09日 0 点赞 0 评论 312 浏览 评分:9.9
2919: 奖学金 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; struct u { int xh; int yv; …… 题解列表 2023年12月09日 0 点赞 0 评论 219 浏览 评分:9.9
注意爆int(错了十几次) 摘要:1. 打表import java.util.Scanner; public class Main { static int N = 1010, mod = 1000000007; …… 题解列表 2023年12月09日 0 点赞 2 评论 1262 浏览 评分:9.9
【Java】计算两个数的和 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[]args)…… 题解列表 2023年12月10日 0 点赞 0 评论 699 浏览 评分:9.9
围圈报数(python) 摘要:解题思路:注意事项:参考代码:def josephus(n, m): # 创建编号列表 people = list(range(1, n + 1)) # 记录出列的顺序 ord…… 题解列表 2023年12月10日 0 点赞 0 评论 331 浏览 评分:9.9
全排列(python) 摘要:解题思路:注意事项:参考代码:def permutations(s, prefix=""): if len(s) == 0: print(prefix) else: …… 题解列表 2023年12月10日 0 点赞 0 评论 381 浏览 评分:9.9
编写题解 2779: 输出绝对值 摘要:解题思路:#include <bits/stdtr1c++.h>using namespace std;int main(){ double a; cin>>a; if(a>0) …… 题解列表 2023年12月10日 0 点赞 0 评论 845 浏览 评分:9.9
收费的题解 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double n; cin >> n; …… 题解列表 2023年12月10日 0 点赞 1 评论 236 浏览 评分:9.9