题解列表

筛选

C语言训练-数字母

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int T(){int i=0,L,n=0;    char a[128];    gets(a);……

二级C语言-最小绝对值 题解

摘要:解题思路:和找最小数差不多,只不过是绝对值,在找是要用abs,最后找到后和最后一个数交换,输出操作后的数列。注意事项:无。参考代码:#include<bits/stdc++.h>using names……

C语言训练-大、小写问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int T(){     int i=0,L;    char a[50];    gets(a);……

迭代法求平方根

摘要:解题思路:运用sqrt解决这题。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int n;double m;int main(){ sc……

二级C语言-阶乘数列 题解

摘要:解题思路:就是30的阶乘和呗。注意事项:要用科学计数法输出。参考代码:#include<bits/stdc++.h>using namespace std;double x=1,s;int main(……

完数的判断 题解

摘要:解题思路:没什么好说的。直接看程序吧。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int n,a[100005];int main()……

阶乘求和 题解

摘要:解题思路:直接暴力阶乘再计算和。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;long long n,x=0,s=1;int main(……