1169: 绝对值排序(改编一下sort函数,超方便) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;bool cmp(int a,int b);int ma…… 题解列表 2024年03月13日 0 点赞 0 评论 222 浏览 评分:9.9
python 2810: 鸡尾酒疗法 摘要:解题思路:有效率 = 有效的病例数 / 总病例数参考代码:n = int(input()) for i in range(n): arr = list(map(int, input().s…… 题解列表 2024年03月13日 0 点赞 0 评论 331 浏览 评分:9.9
python 2811: 救援 摘要:参考代码:import math n = int(input()) x1, y1 = 0, 0 pace = 50 time = 0 for i in range(n): xn, …… 题解列表 2024年03月13日 0 点赞 0 评论 594 浏览 评分:9.9
java--study||O.o 摘要:参考代码: import java.util.Scanner; public class Main { static int n, arr[]; public static void…… 题解列表 2024年03月13日 0 点赞 0 评论 296 浏览 评分:9.9
疯狂裁缝简单解 摘要:解题思路:注意事项:参考代码:public static void main(String[] args) { int max=0;//用来记录每一次的最大值 Scanner scanner=…… 题解列表 2024年03月13日 0 点赞 0 评论 220 浏览 评分:9.9
1156: C语言训练-阿姆斯特朗数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int x=2; for(x=2;x<1000;x++) { int a=0,b=0,c=0; a=x/1…… 题解列表 2024年03月13日 0 点赞 0 评论 275 浏览 评分:9.9
最简单的解 摘要:参考代码:matrix_B = [] for _ in range(5): row = list(map(int, input().split())) matrix_B.appe…… 题解列表 2024年03月13日 1 点赞 0 评论 463 浏览 评分:9.9
1054: 二级C语言-计算素数和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int hjh(int i){ int count=2; for(int f=2;f<i;f++) { if(i%f!=0) coun…… 题解列表 2024年03月13日 0 点赞 0 评论 207 浏览 评分:9.9
编写题解 2074: [STL训练]A+B 摘要:解题思路:将字符串转化为整数就好了。注意事项:参考代码:#include<stdio.h>#include<string.h>#include<math.h>long long as(char a[]…… 题解列表 2024年03月13日 0 点赞 0 评论 341 浏览 评分:9.9
二级C语言-自定义函数 摘要:解题思路:这题主要解决的是n的阶乘,还有x的n次方幂。第1个函数先用for循环解决阶乘,第2个函数再用pow函数解决X的n次幂。主函数再用一个for循环+公式,最后输出一下就行了注意事项:第1个函数的…… 题解列表 2024年03月13日 0 点赞 0 评论 267 浏览 评分:9.9