代码要求基础,新手就能懂 摘要:解题思路:自己看注意事项:没有参考代码:#include<stdio.h>#include<string.h>int main(){ int i; char str[3][10…… 题解列表 2025年06月17日 2 点赞 1 评论 464 浏览 评分:10.0
s01串(cx12g) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string s,c; s="0&qu…… 题解列表 2025年06月17日 0 点赞 0 评论 251 浏览 评分:0.0
每个数的个数(cx12h) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;map<int,int>mp;int main(){ int…… 题解列表 2025年06月17日 0 点赞 0 评论 224 浏览 评分:0.0
分数线的划定很容易,就像她跟我划清界限一样 摘要:#include <stdio.h>#include <math.h>typedef struct{ &nbs…… 题解列表 2025年06月17日 3 点赞 1 评论 373 浏览 评分:10.0
连通图是否连通(sf14a) 摘要:解题思路:注意事项:记得压缩路径参考代码:#include<bits/stdc++.h>using namespace std;const int N=1005;int father[N]…… 题解列表 2025年06月01日 0 点赞 0 评论 210 浏览 评分:0.0
连通图(sf14b) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=100005;int father[N];//找…… 题解列表 2025年06月01日 0 点赞 0 评论 223 浏览 评分:0.0
队列queue(sf13a) 摘要:解题思路:注意事项:在操作2时,当队列为空时,输出no,且return 0(退出);参考代码:#include<bits/stdc++.h>using namespace std;int …… 题解列表 2025年05月29日 0 点赞 0 评论 244 浏览 评分:0.0
链表合并map(sf13c) 摘要:解题思路:map<int,int>mp;//一个是键,一个是值//map有自动排序特性注意事项:注意map的输入和输出的方式参考代码:#include<bits/stdc…… 题解列表 2025年05月29日 0 点赞 0 评论 390 浏览 评分:0.0