题解 1579: 蓝桥杯算法提高VIP-陶陶摘苹果2 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7;ll…… 题解列表 2024年04月20日 0 点赞 0 评论 517 浏览 评分:0.0
3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>typedef long long ll;const int N=1e7;ll a[N];using namespace s…… 题解列表 2024年04月20日 0 点赞 0 评论 581 浏览 评分:0.0
2901: 查找特定的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>typedef long long ll;const int N=1e7;ll a[N];using namespace s…… 题解列表 2024年04月20日 0 点赞 0 评论 457 浏览 评分:2.0
题解 2901: 查找特定的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7;ll…… 题解列表 2024年04月20日 0 点赞 0 评论 512 浏览 评分:0.0
2804: 与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>typedef long long ll;const int N=1e5+5;ll a[N];using namespace…… 题解列表 2024年04月20日 0 点赞 0 评论 448 浏览 评分:2.0
题解 2804: 与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll a[101];int main()…… 题解列表 2024年04月20日 0 点赞 0 评论 513 浏览 评分:0.0
STL unordered_set完美解决问题 摘要:解题思路:把字符串中只出现一次的字符保存到set里。注意事项:题意要求输出第一次出现字符,所以需要遍历两次字符串。参考代码:#include <iostream>#include <string>#i…… 题解列表 2024年04月19日 0 点赞 0 评论 648 浏览 评分:0.0
BFS板子最最最基础题了 ```cpp#includeusingnamespacestd;#defineendl'\n'#defineintlonglongtypedefpairPII;constintN=45;chara[N][N];intv[N][N];intr, 题解列表 2024年04月19日 0 点赞 0 评论 850 浏览 评分:9.9
LETTEARS(走路径) ```cpp#includeusingnamespacestd;#defineendl'\n'#defineintlonglongconstintN=25;chara[N][N];intn,m,max_s=0;unordered_mapg;intX[]={0, 题解列表 2024年04月19日 0 点赞 0 评论 702 浏览 评分:9.9
信息学奥赛一本通T1270-混合背包 摘要:解题思路:转化为完全背包, 当数量不限时,数量为背包容量除以物品体积注意事项:滚动数组优化, j 从m 到 w[i]参考代码:#include<iostream> #include<algorith…… 题解列表 2024年04月19日 0 点赞 0 评论 538 浏览 评分:9.9