python解决绝对值排序 摘要:注意事项:注意题目要求一行代码输入参考代码:while 1: a = list(eval((input()+' ').replace(' ', ',&…… 题解列表 2021年04月07日 0 点赞 0 评论 341 浏览 评分:0.0
[编程入门]宏定义之闰年判断 摘要:year = int(input())if year % 4 == 0 and year % 100 != 0: print("L")elif year % 400 == 0: print…… 题解列表 2021年04月07日 0 点赞 0 评论 312 浏览 评分:0.0
[编程入门]宏定义练习之三角形面积 摘要:from math import sqrta, b, c = map(float, input().split())S = (a + b + c) / 2area = sqrt(S*(S-a)*(S-…… 题解列表 2021年04月07日 0 点赞 0 评论 351 浏览 评分:0.0
回文数 ---简单代码搞定 摘要:首先,说明一下,此题有会有step=0的情况出现,我看好多题解都没有这个情况,所以特此来写一写题解。其次,此题需要考虑10进制以上的进制输入情况有字母,就必须用字符串数组进行。之前因为没考虑到这个老是…… 题解列表 2021年04月07日 0 点赞 0 评论 610 浏览 评分:9.0
简单易懂啊铁汁们 摘要:解题思路:看到输入输出,首先就想到用一个列表来存放每一行判断后的结果,最后再输出注意事项:注意在处理输入的时候,a.b.a.c这样的是不能转换为整数的,需要直接排除,这里我用try...except做…… 题解列表 2021年04月06日 0 点赞 0 评论 230 浏览 评分:0.0
编写题解 1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:lst = list(map(int,input().split())) lst.reverse() for i in lst: print(i,end=&…… 题解列表 2021年04月06日 0 点赞 0 评论 335 浏览 评分:0.0
蓝桥杯算法提高VIP-数的划分(python题解) 摘要:解题思路:参考https://blog.dotcpp.com/a/76313的思路,列公子大佬写的很详细,参考代码:n=int(input())dp=[[0 for i in range(n+1)] …… 题解列表 2021年04月06日 0 点赞 0 评论 405 浏览 评分:0.0
按照题目要求来解答 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> void connect(char* a, char* b) { cha…… 题解列表 2021年04月06日 0 点赞 0 评论 115 浏览 评分:0.0
python解出来了 摘要:解题思路:注意事项:参考代码:ls = []ls1 =[]n = int(input())zz = input()ls = zz.split()for i in range (n): if ls…… 题解列表 2021年04月06日 0 点赞 0 评论 467 浏览 评分:0.0
容易理解的C语言代码 摘要:解题思路:输出的时候倒过来输出就可以了注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char a[100]…… 题解列表 2021年04月06日 0 点赞 0 评论 164 浏览 评分:0.0