题解列表

筛选

编写题解 3007: 收费

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

2757: 浮点数向零舍入

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

2769: 计算并联电阻的阻值

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

编写题解 2771: 大象喝水

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

2759: 打印字符

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){   int a;   cin>>a;   cout<<(char)a;……

编写题解 2997: 梯形面积

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    double e;    e=150*2/15*(15……

2774: 计算三角形面积

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    double x1,y1,x2,y2,x3,y3,a……