信息学奥赛一本通T1448-电路维修 ```/*本题使用了双端队列进行解决*/#include#definexfirst#defineysecondusingnamespacestd;typedefpairpii;constintdx[4]={-1,1,1,-1};constintdy[4]={-1, 题解列表 2022年05月08日 0 点赞 0 评论 1044 浏览 评分:9.9
字符串拷贝 #include#include#defineMax1000char*Copy(charA[Max],charB[Max],intm,intn){intj=0,q=0;for(j=m-1;j 题解列表 2022年05月08日 0 点赞 0 评论 627 浏览 评分:0.0
编写题解 2024: 链表删除练习--STL 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<deque> using namespace std; void print_Deque(deque<int…… 题解列表 2022年05月08日 0 点赞 0 评论 474 浏览 评分:0.0
我的笨蛋方法 摘要:```c #include #define Max 1000 int main(){ int n,num[Max]; scanf("%d",&n); int i; for(i=…… 题解列表 2022年05月08日 0 点赞 0 评论 524 浏览 评分:0.0
数学问题,百分之91! 摘要:import java.io.*; public class Main { static BufferedReader bf=new BufferedReader(new InputStre…… 题解列表 2022年05月08日 0 点赞 0 评论 808 浏览 评分:9.9
编写题解 1585: 蓝桥杯算法训练VIP-链表数据求和操作 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a[10],b[10]; in…… 题解列表 2022年05月08日 0 点赞 0 评论 523 浏览 评分:0.0
编写题解 1052: [编程入门]链表合并---STL(map)容器求解 摘要:解题思路:map容器,自动排好序。键值对分别存储学号和成绩注意事项:参考代码:#include<iostream> using namespace std; #include<map> void…… 题解列表 2022年05月08日 0 点赞 0 评论 741 浏览 评分:0.0
蓝桥杯算法训练VIP-判定字符位置 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;int t;int main() { cin>>s; for…… 题解列表 2022年05月08日 0 点赞 0 评论 488 浏览 评分:0.0
蓝桥杯算法提高VIP-陶陶摘苹果2 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n,t,m,a,h;int main() { cin>>n…… 题解列表 2022年05月08日 0 点赞 0 评论 440 浏览 评分:0.0
蓝桥杯算法提高VIP-输出正反三角形 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main() { int a, b; cin >> a >>…… 题解列表 2022年05月08日 0 点赞 0 评论 531 浏览 评分:2.0