1480: 蓝桥杯算法提高VIP-模拟计算器__优质题解 摘要:解题思路:虽然有很多大神写了本题的题解,但是我发现没人提到这道题的严谨性问题,所以我就“多此一举”一下。主要思路就是根据题意模拟。注意事项:首先我用if去做的这道题,因为用题目要求的switch去写,…… 题解列表 2021年12月31日 0 点赞 0 评论 488 浏览 评分:9.9
1866: 三位数反转 摘要:解题思路:注意事项:参考代码:while True: try: n = input() print(n[::-1]) except: &nb 题解列表 2021年12月31日 0 点赞 1 评论 748 浏览 评分:9.9
1859: 与2无关的数 摘要:解题思路:注意事项:参考代码:def num(x): s = 0 if x%2==0: s += 1 st = str(x) 题解列表 2021年12月31日 0 点赞 0 评论 380 浏览 评分:2.0
1856: 最小三个数 摘要:解题思路:注意事项:参考代码:n = int(input()) m = list(map(int,input().split())) m.sort() for i in range(3): …… 题解列表 2021年12月31日 0 点赞 0 评论 516 浏览 评分:0.0
1855: 输出字符'A'个数 摘要:解题思路:注意事项:参考代码:n = int(input()) for i in range(n): print('A',end='')…… 题解列表 2021年12月31日 0 点赞 0 评论 450 浏览 评分:0.0
1853: 蓝桥杯基础练习-数列排序 摘要:解题思路:注意事项:参考代码:n = int(input()) m = list(map(int,input().split())) m.sort() for i in m: prin…… 题解列表 2021年12月31日 0 点赞 0 评论 478 浏览 评分:0.0
1851: 求所给范围内水仙花数并排列 摘要:解题思路:注意事项:参考代码:while True: try: m,n = map(int,input().split()) s = 0 &nbs 题解列表 2021年12月31日 0 点赞 0 评论 391 浏览 评分:0.0
1848: 求输入数据绝对值 摘要:解题思路:注意事项:参考代码:while True: try: x = input() print('%.2f'%abs(float(x)…… 题解列表 2021年12月31日 0 点赞 0 评论 632 浏览 评分:9.9
1812: [编程基础]输入输出练习之输出图案 摘要:解题思路:注意事项:参考代码:x = str(input()) print(f' {x}') print(f' {x*3} ') print(x*5)…… 题解列表 2021年12月31日 0 点赞 0 评论 1984 浏览 评分:9.9
1810: [编程基础]输入输出练习之精度控制3 摘要:解题思路:注意事项:参考代码:a,b,c,d = map(str,input().split()) print(a,end=' ') print('%4d'%int…… 题解列表 2021年12月31日 0 点赞 0 评论 807 浏览 评分:8.0