题解列表

筛选

1161: 回文数(二)

摘要:解题思路:这个和2113题信息学奥赛一本通T1309-回文数一样,看到这里的题解有点凌乱,所以把我在2113题的题解复制过来了。没有使用字符数组做,因为在十六进制相加减的时候有些麻烦,所以把字符数组转……

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

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

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

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

IP判断(Python)

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

python-等腰三角形

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

1118: Tom数(python)

摘要:解题思路:注意事项:参考代码:while(True):    a=input()    sum=0    for i in a:        sum+=int(i)    print(sum)……

两个链表合并C语言

摘要:解题思路:phead1 phead2来接受两个链表,phead3来合并注意事项:参考代码:#include<stdio.h> #include<stdlib.h> struct student ……