排序排序排序排序 C 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,i,j,t; int min,min_i; sca…… 题解列表 2022年11月05日 0 点赞 0 评论 412 浏览 评分:0.0
自定义函数处理最大公约数和最小公倍数 摘要:解题思路:注意事项:参考代码:import java.text.DecimalFormat;import java.util.Arrays;import java.util.Scanner;publi…… 题解列表 2022年11月05日 0 点赞 0 评论 333 浏览 评分:0.0
1173一行解(Python) 摘要:解题思路:注意事项:参考代码:import mathimport sysfor line in sys.stdin:print('{:.2f}'.format((4/3)*math.p…… 题解列表 2022年11月05日 0 点赞 0 评论 467 浏览 评分:0.0
JAVA最优解自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:import java.text.DecimalFormat;import java.util.Arrays;import java.util.Scanner;publi…… 题解列表 2022年11月05日 0 点赞 0 评论 300 浏览 评分:0.0
解决大树问题二位数组的运用 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100000]; int length; int number; int b[100000][2];…… 题解列表 2022年11月05日 0 点赞 0 评论 262 浏览 评分:0.0
剪刀石头布C++ 摘要:解题思路: 一一比较注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b; cin >> a >> b…… 题解列表 2022年11月05日 0 点赞 0 评论 258 浏览 评分:0.0
字符串拷贝简易版 摘要:解题思路:输入一串字符串,然后直接从输入的m个字符中从第n个开始截断输出注意事项:注意数组是从0开始计数,所以第一个字符对应的数组下标为0参考代码:#include <stdio.h>int main…… 题解列表 2022年11月05日 0 点赞 0 评论 287 浏览 评分:0.0
1172基础解法(Python) 摘要:参考代码:import sysfor line in sys.stdin : line = list(map(float, line.split())) print('{:.2f}…… 题解列表 2022年11月05日 0 点赞 0 评论 379 浏览 评分:0.0
输出N以内的所有完数1017 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int N,i,j,s; scanf("%d",&N); for(i=2;i<N;i++) { s=0; f…… 题解列表 2022年11月06日 0 点赞 0 评论 261 浏览 评分:0.0
P1073(C++题解) 摘要:解题思路:由于是算式,所以我们可以用string来进行输入。根据题目意思,如果最后的字符是'?',则可以跳过不算,因为这不是我们要求的。剩下的呢,我们就来看一下是什么字符('+…… 题解列表 2022年11月06日 0 点赞 1 评论 224 浏览 评分:0.0