题解列表

筛选

字符串的修改

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define max(x,y) x>y?x:yint fun(char s1[], char s2……

[编程入门]打印图案

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

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

摘要:解题思路:注意事项:参考代码:#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>……