3082: 奇怪的电梯(lift) 摘要:```cpp #include using namespace std; int i,n,a,b,head,tail=1,p[210],s[210][2],f[210]; int main()…… 题解列表 2023年02月11日 0 点赞 0 评论 535 浏览 评分:10.0
dfedgfggdsgfrgzfvdfvdfwefdsfszf 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<queue>#include<map>#include<algorithm>using namespace std;…… 题解列表 2023年02月11日 0 点赞 0 评论 471 浏览 评分:4.7
c++ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int x,y; cin>>x; if (x<1) …… 题解列表 2023年02月11日 0 点赞 0 评论 645 浏览 评分:9.9
编写题解 3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,a[1001],maxx=1; cin>>n; …… 题解列表 2023年02月11日 0 点赞 0 评论 491 浏览 评分:9.9
2124: 信息学奥赛一本通T1259-求最长不下降序列 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<cmath> #include<algorithm> #include…… 题解列表 2023年02月11日 0 点赞 0 评论 427 浏览 评分:0.0
优质题解 蓝桥杯2022年第十三届省赛真题-李白打酒加强版(基于记忆数组的动态规划) 摘要:首先构建DFS搜索的函数:long long DFS(long long n, long long m, long long liquor)。这里n代表已经遇到店的次数,m代表已经遇到花的次数,liq…… 题解列表 2023年02月10日 0 点赞 0 评论 2433 浏览 评分:8.4
2976: 字符串中最长的连续出现的字符 摘要:```cpp #include using namespace std; int main() { char str[200]; int count=0,max=0,f; …… 题解列表 2023年02月10日 0 点赞 0 评论 421 浏览 评分:9.9
质因数个数 复杂度<O(根号n) 摘要:```cpp #include #include using namespace std; bool sort(long long n); int main() { lo…… 题解列表 2023年02月10日 0 点赞 0 评论 1747 浏览 评分:9.1
图的遍历-DFS 摘要:```cpp #include using namespace std; #define ll long long int n;//节点数 const int N = 55;//最大节点数 …… 题解列表 2023年02月10日 0 点赞 0 评论 554 浏览 评分:0.0
计算(a+b)*c的值 (c++) 摘要:解题思路:先设置变量a,b,c,再输入变量,最后输出(a+b)*c的值注意事项:a+b要带括号参考代码:#include<iostream>//导入头文件using namespace std;int…… 题解列表 2023年02月10日 0 点赞 0 评论 421 浏览 评分:9.9