题解列表

筛选

 编写题解 1671: 小九九

摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std;  int main(){     for(int i=1; i<=9; i++)    ……

2852: 配对碱基链

摘要:解题思路:万能的张博维注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[258];int main(){cin>>s;for(i……

2850: 输出亲朋字符串

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e7;stri……

2853: 字符替换

摘要:解题思路:将字符串和字符存储下来后,再通过循环把字符串反复判断并改为题目要求的字符注意事项:循环内需要i从0开始循环,并用strlen()函数把数组最后的值的下标求出,放入循环参考代码:#includ……

2846: 统计数字字符个数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7;ch……

1002: [编程入门]三个数最大值 C++题解

摘要:解题思路:这是一题水题,有手就行。。。用数组和排序闭着眼睛都能过(虽然有点小题大做。。。)注意事项:一定要用万能头文件,不然其他头文件遇到sort()会报错。参考代码:#include<bits/st……