题解列表

筛选

[编程入门]Sn的公式求和

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    int n,a=2;    cin>>n;    lo……

二级C语言-寻找矩阵最值 题解

摘要:解题思路:这题我用了伪二维的方法来比大小找最大的数,再用两个变量来分别标记他的横竖位置。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;i……

计算数字个数

摘要:解题思路:用字符串注意事项:i的下标是0参考代码:#include<bits/stdc++.h>using namespace std;string z;long long s;int main(){……

2004:统计成绩

摘要:解题思路:无注意事项:无参考代码:#include<bits/stdc++.h>using namespace std;long long z,s;double t;int main(){     f……

[编程入门]电报加密

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

1000:求开朗的a+b

摘要:解题思路:首先我们要定义两个数,然后把它们的和相加。注意事项:此题不止一种写法。参考代码:(1)#include<bits/stdc++.h>using namespace std;int main(……