IP判断(Python) 摘要:解题思路:注意事项:参考代码:while(True): List=input() if(List=='End of file'): break else…… 题解列表 2022年02月05日 0 点赞 1 评论 564 浏览 评分:9.9
数组插入处理 python 摘要:解题思路:注意事项:参考代码:a = list(map(int,input().split()))b = int(input())a.append(b)a.sort()for i in a: p…… 题解列表 2022年02月05日 0 点赞 0 评论 433 浏览 评分:2.0
Hifipsysta-1159-偶数求和(C++代码)最后不足m的要查漏补缺 摘要: ```cpp #include #include #include using namespace std; const int max_len=100; float arr[ma…… 题解列表 2022年02月05日 0 点赞 0 评论 263 浏览 评分:0.0
DNA( Python )哈哈小白只懂这么写 摘要:解题思路: 先生成二维列表,再把二维列表弄成符合题目意思的内容注意事项: 注意格式输出参考代码: n=int(input())while(n>0): a,b=map(int,input().…… 题解列表 2022年02月05日 0 点赞 0 评论 578 浏览 评分:9.9
日期排序(巧用scanf形式求解) 摘要:解题思路:利用scanf对输入形式的严格要求求解注意事项:参考代码:#include<stdio.h>#include<algorithm>using namespace std;struct dat…… 题解列表 2022年02月05日 0 点赞 0 评论 696 浏览 评分:9.9
Hifipsysta-1173-计算球体积(C++代码) 摘要:```cpp #include #include using namespace std; float compute_volume(float r){ return (4.0/…… 题解列表 2022年02月05日 0 点赞 0 评论 332 浏览 评分:0.0
Hifipsysta-1164-数组的距离(C++代码)建立一个距离矩阵很简单 摘要:```cpp #include #include #include using namespace std; const int max_idx=1000; int arr_x[max…… 题解列表 2022年02月05日 0 点赞 0 评论 338 浏览 评分:0.0
【露离】1030: [编程入门]二维数组的转置 摘要:解题思路:注意事项:参考代码:def zhuanzhi(): a=[input().split(),input().split(),input().split()] b=[[],[],[]…… 题解列表 2022年02月05日 0 点赞 0 评论 289 浏览 评分:0.0
【露离】编写题解 1029: [编程入门]自定义函数处理素数 摘要:解题思路:注意事项:参考代码:def sushu(): for i in range(2,n): if n%i==0: print('not prim…… 题解列表 2022年02月05日 0 点赞 0 评论 302 浏览 评分:0.0
【露离】python1028: [编程入门]自定义函数求一元二次方程 摘要:解题思路:注意事项:注意有复数的情况,此时需要注意输出。因为python的复数单位是j,所以考虑format格式化输出。不能单纯的把▲取负再开方,否则会造成虚部和实部相加(或许你们不会犯此错误,反正我…… 题解列表 2022年02月05日 0 点赞 0 评论 364 浏览 评分:0.0