题解列表

筛选

[编程入门]水仙花数判断

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a,b,c,i;    for(i=100; i<1000; i++){        a = i……

c编程实现两个复数的运算

摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> typedef struc……

纯粹手贱,不能理解,没有关系

摘要:解题思路:纯粹手贱,不能理解,没有关系注意事项:前方高能,注意避让参考代码:#include<stdio.h>int main(){ int a[10] = { 0 }; int b[10] = {0……

二级C语言-阶乘数列

摘要:解题思路:用计算机算出答案,再输出注意事项:没有参考代码:#include<bits/stdc++.h>using namespace std;int main(){ cout<<"2.74e+32"……

二级C语言-统计字符

摘要:解题思路:暴力注意事项:没有参考代码:#include<bits/stdc++.h>using namespace std;string s;long long yw,kg,sz,qt;int mai……

三个数找最大值

摘要:解题思路:利用max快速找最大值注意事项:max的格式是max(a,b);参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int m……

三个数字的排序

摘要:解题思路:利用数组+sort进行排序注意事项:注意数组的下标参考代码:#include<iostream>#include<fstream>#include<algorithm>using names……

二级C语言-等差数列

摘要:解题思路:直接模拟注意事项:要用long long参考代码:#include<bits/stdc++.h>using namespace std;long long n,s,t=2;int main(……

三个字符串的排序

摘要:解题思路:直接用short注意事项:没有参考代码:#include<bits/stdc++.h>using namespace std;string s[8];int main(){    for(i……