题解列表

筛选

python-等腰三角形

摘要:解题思路:从题目中我们知道0~9每个数字占一位。①先生成1~1000的数字字符串,('123456789101112131415161718192021......'),这里记为A。②……

IP判断(Python)

摘要:解题思路:注意事项:参考代码:while(True):    List=input()    if(List=='End of file'):        break    else……

数组插入处理 python

摘要:解题思路:注意事项:参考代码:a = list(map(int,input().split()))b = int(input())a.append(b)a.sort()for i in a:    p……

DNA( Python )哈哈小白只懂这么写

摘要:解题思路:  先生成二维列表,再把二维列表弄成符合题目意思的内容注意事项:  注意格式输出参考代码: n=int(input())while(n>0):    a,b=map(int,input().……

日期排序(巧用scanf形式求解)

摘要:解题思路:利用scanf对输入形式的严格要求求解注意事项:参考代码:#include<stdio.h>#include<algorithm>using namespace std;struct dat……