题解列表
题解 2857: 加密的病历单
摘要:解题思路:注意事项:三次遍历得出结果;注意循环格式,以及是哪个字符串;切勿弄混!参考代码:#include using namespace std;
char b[60]= {'w'……
2332: 信息学奥赛一本通T1181-整数奇偶排序
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[10005];int main(){ for(int i=1; ……
2851: 合法C标识符
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>
using namespace std;
int flag[30];
int main()
{
str……
1720: 数据结构-基数排序
摘要:解题思路:注意事项:参考代码://sort排序#include <bits/stdc++.h>using namespace std;int a[100005];int main(){ int ……
2917: 奇数单增序列
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int tong[1005];int main(){ int n; c……
2848: 基因相关性
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>
using namespace std;
int main()
{
double a;
cin……
2973: 出现次数超过一半的数
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int tong[1005];int main(){ int n; c……
C++_DFS(深度优先搜索)
摘要:参考代码:#include<iostream>#include<algorithm>#include<cstdio>using namespace std;int const N =30;int n,……