1869: 鸡兔同笼 摘要:解题思路:注意事项:参考代码:while True: try: num,leg=map(int,input().strip().split()) s = …… 题解列表 2021年12月31日 0 点赞 0 评论 425 浏览 评分:0.0
1867: 王牌花色 摘要:解题思路:注意事项:参考代码:n = int(input()) for i in range(n): m = input() a,b = map(str,input().spli…… 题解列表 2021年12月31日 0 点赞 0 评论 337 浏览 评分: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 评论 685 浏览 评分:8.7
编写题解 1507: 蓝桥杯算法提高VIP-去注释 c++ 摘要:注意事项:不要大意!参考代码:#include<bits/stdc++.h>using namespace std;int main(){ char c; while ((c = cin.…… 题解列表 2021年12月31日 0 点赞 0 评论 450 浏览 评分:9.9
1481: 蓝桥杯算法提高VIP-剪刀石头布 (c++) 摘要:解题思路:用不用枚举类型均可!注意事项 :不要大意!参考代码:#include<iostream>using namespace std;int main(){enum caiquan{shitou,…… 题解列表 2021年12月31日 0 点赞 0 评论 350 浏览 评分:9.0
1480: 蓝桥杯算法提高VIP-模拟计算器__优质题解 摘要:解题思路:虽然有很多大神写了本题的题解,但是我发现没人提到这道题的严谨性问题,所以我就“多此一举”一下。主要思路就是根据题意模拟。注意事项:首先我用if去做的这道题,因为用题目要求的switch去写,…… 题解列表 2021年12月31日 0 点赞 0 评论 426 浏览 评分:9.9
1866: 三位数反转 摘要:解题思路:注意事项:参考代码:while True: try: n = input() print(n[::-1]) except: &nb 题解列表 2021年12月31日 0 点赞 1 评论 676 浏览 评分:9.9
1859: 与2无关的数 摘要:解题思路:注意事项:参考代码:def num(x): s = 0 if x%2==0: s += 1 st = str(x) 题解列表 2021年12月31日 0 点赞 0 评论 333 浏览 评分:2.0
1856: 最小三个数 摘要:解题思路:注意事项:参考代码:n = int(input()) m = list(map(int,input().split())) m.sort() for i in range(3): …… 题解列表 2021年12月31日 0 点赞 0 评论 461 浏览 评分:0.0
1855: 输出字符'A'个数 摘要:解题思路:注意事项:参考代码:n = int(input()) for i in range(n): print('A',end='')…… 题解列表 2021年12月31日 0 点赞 0 评论 378 浏览 评分:0.0