编写题解 1052: [编程入门]链表合并 摘要:解题思路:注意事项:参考代码://// Created by ch'li'sen on 2022/3/8.//#include<iostream>#include "algorithm…… 题解列表 2022年03月11日 0 点赞 0 评论 528 浏览 评分:0.0
最大公约数与最小公倍数模板 超简单超短代码 摘要:解题思路:最小公约数欧几里得算法gcd(a,b)=gcd(b,a mod b)最小公倍数是a*b//最小公约数注意事项:参考代码:def gcd(a, b): if b == 0: …… 题解列表 2022年03月11日 0 点赞 1 评论 510 浏览 评分:7.3
1518: 蓝桥杯算法提高VIP-寻找三位数 摘要:解题思路:注意事项:参考代码:st=[str(i) for i in range(1,10)] ls=[] for i in st: z=st[:] z.remove(i) …… 题解列表 2022年03月11日 0 点赞 0 评论 370 浏览 评分:0.0
1512: 蓝桥杯算法提高VIP-多项式输出 摘要:n=int(input()) a=list(map(int,input().split())) l=len(a) b=[] for i in range(len(a)): b.app…… 题解列表 2022年03月11日 0 点赞 0 评论 523 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量-题解 摘要:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; if(a<b) …… 题解列表 2022年03月11日 0 点赞 0 评论 609 浏览 评分:9.9
我是废物!!!!!!!!!!!!!! 摘要: ```cpp #include using namespace std; int n; const long long L = 100002; int arr[L] = {0…… 题解列表 2022年03月11日 0 点赞 0 评论 400 浏览 评分:0.0
1507: 蓝桥杯算法提高VIP-去注释 摘要:解题思路:注意事项:参考代码:s=0 while True: try: st=input() if '/*' in st:   题解列表 2022年03月11日 0 点赞 0 评论 563 浏览 评分:8.0
1697: 数据结构-二叉链表存储的二叉树 摘要:题目源: [https://www.dotcpp.com/oj/problem1697.html](https://www.dotcpp.com/oj/problem1697.html) 代码都…… 题解列表 2022年03月11日 0 点赞 0 评论 694 浏览 评分:0.0
优质题解 1096: Minesweeper 摘要:解题思路:说是黄金矿工,其实是扫雷的逻辑。没有什么算法上的难点,花时间的地方在于输出的数组里既有'*'又有数字,而我定义的数组是int型,所以一开始的想法是用static_cast把有…… 题解列表 2022年03月11日 0 点赞 1 评论 814 浏览 评分:8.7
猴子吃桃问题,C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>/*猴子吃桃问题。猴子第一天摘下若干个桃子,当即吃了一半,还不过瘾,又多吃了一个。 第二天早上又将剩下的桃子吃掉一半,又多吃一个。 以…… 题解列表 2022年03月11日 0 点赞 0 评论 1365 浏览 评分:0.0