1161: 回文数(二) 摘要:解题思路:这个和2113题信息学奥赛一本通T1309-回文数一样,看到这里的题解有点凌乱,所以把我在2113题的题解复制过来了。没有使用字符数组做,因为在十六进制相加减的时候有些麻烦,所以把字符数组转…… 题解列表 2022年02月05日 0 点赞 0 评论 665 浏览 评分:9.9
日期排序(巧用scanf形式求解) 摘要:解题思路:利用scanf对输入形式的严格要求求解注意事项:参考代码:#include<stdio.h>#include<algorithm>using namespace std;struct dat…… 题解列表 2022年02月05日 0 点赞 0 评论 714 浏览 评分:9.9
DNA( Python )哈哈小白只懂这么写 摘要:解题思路: 先生成二维列表,再把二维列表弄成符合题目意思的内容注意事项: 注意格式输出参考代码: n=int(input())while(n>0): a,b=map(int,input().…… 题解列表 2022年02月05日 0 点赞 0 评论 602 浏览 评分:9.9
IP判断(Python) 摘要:解题思路:注意事项:参考代码:while(True): List=input() if(List=='End of file'): break else…… 题解列表 2022年02月05日 0 点赞 1 评论 581 浏览 评分:9.9
python-等腰三角形 摘要:解题思路:从题目中我们知道0~9每个数字占一位。①先生成1~1000的数字字符串,('123456789101112131415161718192021......'),这里记为A。②…… 题解列表 2022年02月05日 0 点赞 0 评论 679 浏览 评分:9.9
题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:1.将 String 转为 StringBuilder2.使用 StringBuilder 自带的 reverse() 方法倒置字符串3.使用构造方法 String() 将倒置后的字符串转化…… 题解列表 2022年02月05日 0 点赞 0 评论 638 浏览 评分:9.9
核电站问题(根据前四个样例摸清楚答案规律) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<cstdio>#include<cstring>using namespace std;int main(){ …… 题解列表 2022年02月05日 0 点赞 0 评论 371 浏览 评分:9.9
1118: Tom数(python) 摘要:解题思路:注意事项:参考代码:while(True): a=input() sum=0 for i in a: sum+=int(i) print(sum)…… 题解列表 2022年02月05日 0 点赞 0 评论 778 浏览 评分:9.9
两个链表合并C语言 摘要:解题思路:phead1 phead2来接受两个链表,phead3来合并注意事项:参考代码:#include<stdio.h> #include<stdlib.h> struct student …… 题解列表 2022年02月05日 0 点赞 0 评论 511 浏览 评分:9.9
【露离】一行流,[编程入门]三个数字的排序 摘要:解题思路:注意事项:join要输入字符型,所以用%s输出。参考代码:print(' '.join('%s'%i for i in sorted(list(map(int…… 题解列表 2022年02月05日 0 点赞 0 评论 508 浏览 评分:9.9