题解列表

筛选

判决素数个数(自定义函数)

摘要:解题思路:在主函数里调用自定义的函数参考代码:#include<iostream>using namespace std;void pss(int x,int y){ int s = 0; int i……

2853: 字符替换

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[100000],a,b;int main(){    cin>>s;……

2846: 统计数字字符个数

摘要:解题思路:注意事项:要输入字符0到字符9参考代码:#include <bits/stdc++.h>using namespace std;char s[100000];int main(){    i……

第十三次作业2题

摘要:解题思路:利用桶排序思想计数注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int tong[100000];int main(){    ……

最简单写法c++

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int h = 1189; int t = h; int w = 84……