java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { Sc…… 题解列表 2024年01月30日 0 点赞 0 评论 348 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { Sc…… 题解列表 2024年01月30日 0 点赞 0 评论 332 浏览 评分:9.9
数组排序,c++ ,sort 摘要:解题思路:因为要的是排序之后的下标,而且这个下标绑定了排序后对应数字,要求按照未排序前的数组顺序输出排序后的次序(下标+1) 所以使用结构体去绑定数字和下标注意事项:参考…… 题解列表 2024年01月30日 0 点赞 0 评论 597 浏览 评分:0.0
合并石子题解 摘要:解题思路:注意事项:参考代码:import java.io.*;import java.util.*;public class Main{ static int maxn = 200005,n,…… 题解列表 2024年01月30日 1 点赞 0 评论 632 浏览 评分:6.0
冶炼金属二分法代码 摘要:解题思路:注意事项:参考代码://冶炼金属:二分#include<bits/stdc++.h>#define int long longusing namespace std;const int N …… 题解列表 2024年01月30日 0 点赞 0 评论 392 浏览 评分:0.0
奖学金(C语言易懂版) 摘要:解题思路:注意事项:注意题目要求,先比总成绩,在总成绩相同的情况下比较语文成绩,在语文成绩相同的情况下比较学号,学号小的排名在前。参考代码:#include <stdio.h>#include <st…… 题解列表 2024年01月30日 0 点赞 0 评论 721 浏览 评分:8.0
子串简写 二分法代码 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#define int long longusing namespace std;void solve(){ int k;s…… 题解列表 2024年01月30日 0 点赞 0 评论 978 浏览 评分:9.5
1005温度转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a,b; scanf("%f",&a); b = 5*(a-32)/9; p…… 题解列表 2024年01月30日 0 点赞 0 评论 514 浏览 评分:0.0
最大公约数与最小公倍数 摘要:解题思路:质因数分解法,求最大公约数,两数之积除最大公约数求最小公倍数。注意事项:参考代码:int getMaxComDivisor(int a, int b){ int maxComDivis…… 题解列表 2024年01月30日 0 点赞 0 评论 340 浏览 评分:0.0