题解列表

筛选

[编程入门]密码破译有惊喜

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    cout <<"Glmre";    return 0……

[编程入门]温度转换

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

1951: 求平方和

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

1669: 求圆的面积

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#define PI acos(-1)//acos(-1)为PI的精确值,头文件是math.h using namespac……

[编程入门]时间设计

摘要:解题思路:数组定义来累加注意事项:判断闰年参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c,s,z[15]={0,31,28,31,3……

1952: 求长方形面积

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

二级C语言-求偶数和

摘要:解题思路:用%2写注意事项:是%2不是/2;参考代码:#include<bits/stdc++.h>using namespace std;int n,s,z;int main(){     cin>……

二级C语言-分段函数 题解

摘要:解题思路:这题自己代入自定义函数,按题目要求判断。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;double x,y;int hs(do……