题解列表

筛选

while循环的持续输入

摘要:解题思路:注意事项:参考代码:while True:    a,b=map(int,input().split())    print(a+b)……

注意换行和列表清空

摘要:解题思路:注意事项:参考代码:while True:    a=list(map(int,input().split()))    a=a[1:]    b=sorted(a,reverse=True……

分类讨论以及循环输入

摘要:解题思路:注意事项:参考代码:while True:    a=int(input())    if a<=100 and a>=90:        print(&#39;A&#39;)    el……

列表注意还原为空列表

摘要:解题思路:注意事项:参考代码:while True:    a,b,c=map(int,input().split())    d=[a,b,c]    xx=sorted(d)    if xx[0……

a,b=0时跳出循环

摘要:解题思路:注意事项:参考代码:while True:    a,b=map(int,input().split())    if a==0 and b==0:        break    prin……

十五行解决无废话

摘要:解题思路:利用ASC码进行字符与数字间的转换注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string str;……

字符串的输出

摘要:解题思路:注意事项:参考代码:n=input()print(len(n))for i in n:    print(i,end=&#39; &#39;)print()print(n[::-1])……
优质题解

枚举解回文日期(附带详细分析)

摘要:### 注意事项 枚举年份应该从哪一年开始? 它的问题是输入日期之后下一个回文日期和下一个ABABBABA型的回文日期 - 方案一(输入年份或输入年份后一年到10000) 也就是输入的日期……