python-等腰三角形 摘要:解题思路:从题目中我们知道0~9每个数字占一位。①先生成1~1000的数字字符串,('123456789101112131415161718192021......'),这里记为A。②…… 题解列表 2022年02月05日 0 点赞 0 评论 482 浏览 评分:9.9
最多约数问题(这个代码短,而且容易理解) 摘要:解题思路:把1到5000000之间每个数的约数的个数全都求出来,放在一个数组里。注意事项:参考代码:#include<stdio.h>int main(){ int a,b,i,j,max=0;…… 题解列表 2022年02月05日 0 点赞 3 评论 654 浏览 评分:7.3
IP判断(Python) 摘要:解题思路:注意事项:参考代码:while(True): List=input() if(List=='End of file'): break else…… 题解列表 2022年02月05日 0 点赞 1 评论 485 浏览 评分: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 评论 322 浏览 评分: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 评论 184 浏览 评分:0.0
DNA( Python )哈哈小白只懂这么写 摘要:解题思路: 先生成二维列表,再把二维列表弄成符合题目意思的内容注意事项: 注意格式输出参考代码: n=int(input())while(n>0): a,b=map(int,input().…… 题解列表 2022年02月05日 0 点赞 0 评论 471 浏览 评分:9.9
日期排序(巧用scanf形式求解) 摘要:解题思路:利用scanf对输入形式的严格要求求解注意事项:参考代码:#include<stdio.h>#include<algorithm>using namespace std;struct dat…… 题解列表 2022年02月05日 0 点赞 0 评论 609 浏览 评分:9.9
Hifipsysta-1173-计算球体积(C++代码) 摘要:```cpp #include #include using namespace std; float compute_volume(float r){ return (4.0/…… 题解列表 2022年02月05日 0 点赞 0 评论 229 浏览 评分: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 评论 223 浏览 评分:0.0
【露离】1030: [编程入门]二维数组的转置 摘要:解题思路:注意事项:参考代码:def zhuanzhi(): a=[input().split(),input().split(),input().split()] b=[[],[],[]…… 题解列表 2022年02月05日 0 点赞 0 评论 190 浏览 评分:0.0