1052链表题解(新手勿喷) 摘要:解题思路:新手比较容易理解的思路注意事项:参考代码:a,b = map(int,input().split())d = {}for i in range(a+b): x,y = map(int,…… 题解列表 2022年01月24日 0 点赞 0 评论 938 浏览 评分:9.9
用位运算实现最快速的代码,不服来战(不建议新手进来) 摘要: #include using namespace std; inline int gcd(int a, int b) { while (b ^= a…… 题解列表 2022年01月24日 0 点赞 0 评论 655 浏览 评分:9.9
优质题解 python-表格计算 摘要:解题思路:递归调用。①首先对表格中所有值转化为浮点型,当转化不成功是,我们知道这处表格是一个字符串。然后调用字符串处理函数②调用字符串处理函数的过程和①类似,先将数字转化成浮点型,然后进行计算,转化不…… 题解列表 2022年01月24日 0 点赞 0 评论 657 浏览 评分:9.9
2194: 蓝桥杯2018年第九届真题-递增三元组 摘要:解题思路:注意事项:参考代码:n = int(input()) a=list(map(int,input().split())) b=list(map(int,input().split())) …… 题解列表 2022年01月25日 0 点赞 1 评论 522 浏览 评分:9.9
Benajm1n:蓝桥杯2018年第九届真题-次数差(Java代码) 摘要:参考代码:import java.util.*; public class Main { public static void main(String[] args) { Scan…… 题解列表 2022年01月25日 0 点赞 0 评论 350 浏览 评分:9.9
优质题解 路径之谜(迷宫问题 DFS 每步详细解答) 摘要:| |(x-1,y)| | | ------------ | ------------ | ------------ | |(x,y-1)|**( x , y )**|(x,y+1)| …… 题解列表 2022年01月25日 0 点赞 2 评论 1222 浏览 评分:9.9
欧拉筛C++语言版本 摘要:#include<bits/stdc++.h> using namespace std; #define max 10000 bool a[max]; int main(){ …… 题解列表 2022年01月25日 0 点赞 0 评论 521 浏览 评分:9.9
python-P0101(字符串处理方法,简单易懂) 摘要:解题思路:按照字符串进行处理。0要按照特殊情况处理。普通情况:①将计算结果转化为字符串,此处转化后的字符串命名为s②取科学计数法前面的数,并保留6位小数num = float(s[:-5]),num …… 题解列表 2022年01月25日 0 点赞 0 评论 593 浏览 评分:9.9
冒泡排序优化C++版本 摘要:#include<bits/stdc++.h> using namespace std; void bubblesort(int a[],int n){ bool flag = 1; …… 题解列表 2022年01月25日 0 点赞 0 评论 561 浏览 评分:9.9
递归求解算法C++版本 摘要:#include<bits/stdc++.h> using namespace std; int gcd(int m,int n){ int min = m < n ? m : n, …… 题解列表 2022年01月25日 0 点赞 0 评论 424 浏览 评分:9.9