解决质因数分解的更简单解决,不能筛选素数 摘要:a,b = map(int,input().split()) for number in range(a,b+1): m = number n_list = [] wh…… 题解列表 2022年11月25日 0 点赞 0 评论 484 浏览 评分:9.9
最小新整数,删去山峰数 解题思路:只需要遍历整个string或数组,删去比后面大的位置即可!只需要遍历整个string或数组,删去比后面大的位置即可!只需要遍历整个string或数组,删去比后面大的位置即可!只需要遍历整个string或数组,删去比后面大的位置即可!只需要遍历整个string或数组, 题解列表 2022年11月25日 0 点赞 0 评论 652 浏览 评分:0.0
C语言常规解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int arr[3][3] = { {0} }; int i, j = 0; int sum…… 题解列表 2022年11月25日 0 点赞 0 评论 556 浏览 评分:0.0
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#pragma warning (disable:4996)int main() { int x, y,z; scanf("%d%d%d…… 题解列表 2022年11月25日 0 点赞 0 评论 458 浏览 评分:0.0
奖学金——充分发挥Java面向对象的特点 解题思路:注意事项:注意重写compareTo()时,是升序还是降序参考代码:importjava.util.ArrayList;importjava.util.List;importjava.util.Scanner;publicclass奖学金{publicstaticclassSimplemen 题解列表 2022年11月25日 0 点赞 0 评论 519 浏览 评分:0.0
Kruskal 求最小生成树+ 并查集 摘要:解题思路: 看不加码头能不能构成最小生成树,如果不可以,则答案为加上码头和建路的最小生成树, ,,,如果可以,则在不加码头和 加上码头的最小生成树取最小值注意事项:建议把初始化码头和把码头的边加…… 题解列表 2022年11月25日 0 点赞 0 评论 726 浏览 评分:9.9
出圈(约瑟夫环)问题---用C语言解决 摘要:```c #include int main(void) { int n,m; while(scanf("%d%d", &n,&m)!=EOF) { int row[n]; …… 题解列表 2022年11月25日 0 点赞 0 评论 945 浏览 评分:9.9
2771: 大象喝水 摘要:解题思路:注意事项:参考代码:import math h,r = map(int,input().strip().split()) v = math.pi * h * r**2 print(mat…… 题解列表 2022年11月24日 0 点赞 0 评论 877 浏览 评分:6.0
超简单的C++ 摘要:参考代码:#include<iostream> using namespace std; int main() { long long int sum; long long …… 题解列表 2022年11月24日 0 点赞 0 评论 662 浏览 评分:9.9
N进制的加,C语言 #include#include#defineN10//进制数#defineM'9'//进制数-1voidreverse(char*c,intl,intr){//逆序while(l 题解列表 2022年11月24日 0 点赞 0 评论 596 浏览 评分:9.9 « 12...1744174517461747174817491750...59095910 »