1915: 蓝桥杯算法提高VIP-三个整数的排序 摘要:解题思路:注意事项:参考代码:ls = list(map(int,input().split())) ls.sort(reverse=True) for i in ls: print(i…… 题解列表 2021年12月31日 0 点赞 0 评论 448 浏览 评分:0.0
1870: 统计字符数 摘要:解题思路:注意事项:参考代码:n = int(input()) for i in range(n): st = input() ji =set(st) dict_c =…… 题解列表 2021年12月31日 0 点赞 0 评论 376 浏览 评分:0.0
1869: 鸡兔同笼 摘要:解题思路:注意事项:参考代码:while True: try: num,leg=map(int,input().strip().split()) s = …… 题解列表 2021年12月31日 0 点赞 0 评论 393 浏览 评分:0.0
1867: 王牌花色 摘要:解题思路:注意事项:参考代码:n = int(input()) for i in range(n): m = input() a,b = map(str,input().spli…… 题解列表 2021年12月31日 0 点赞 0 评论 313 浏览 评分:2.0
编写题解 1011: [编程入门]最大公约数与最小公倍数 VS2019 摘要:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,b,c,d=1,a1,b1;cin>>a>>b;a1=a;b1=b;i…… 题解列表 2021年12月31日 0 点赞 0 评论 635 浏览 评分:8.7
编写题解 1507: 蓝桥杯算法提高VIP-去注释 c++ 摘要:注意事项:不要大意!参考代码:#include<bits/stdc++.h>using namespace std;int main(){ char c; while ((c = cin.…… 题解列表 2021年12月31日 0 点赞 0 评论 426 浏览 评分:9.9
1481: 蓝桥杯算法提高VIP-剪刀石头布 (c++) 摘要:解题思路:用不用枚举类型均可!注意事项 :不要大意!参考代码:#include<iostream>using namespace std;int main(){enum caiquan{shitou,…… 题解列表 2021年12月31日 0 点赞 0 评论 336 浏览 评分:9.0
1480: 蓝桥杯算法提高VIP-模拟计算器__优质题解 摘要:解题思路:虽然有很多大神写了本题的题解,但是我发现没人提到这道题的严谨性问题,所以我就“多此一举”一下。主要思路就是根据题意模拟。注意事项:首先我用if去做的这道题,因为用题目要求的switch去写,…… 题解列表 2021年12月31日 0 点赞 0 评论 402 浏览 评分:9.9
1866: 三位数反转 摘要:解题思路:注意事项:参考代码:while True: try: n = input() print(n[::-1]) except: &nb 题解列表 2021年12月31日 0 点赞 1 评论 648 浏览 评分:9.9
1859: 与2无关的数 摘要:解题思路:注意事项:参考代码:def num(x): s = 0 if x%2==0: s += 1 st = str(x) 题解列表 2021年12月31日 0 点赞 0 评论 319 浏览 评分:2.0