题解列表

筛选

2774: 计算三角形面积

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

编写题解 2997: 梯形面积

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

题解 2921: 整数奇偶排序

```c#includeintmain(){intarr1[100],arr2[100],arr[100];//arr1存奇数,arr2存偶数for(inti=0;i<10;i++){scanf("%d",&arr[i]);}intflag1=0,flag2=0;//flag1奇数计数,

2759: 打印字符

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

编写题解 2771: 大象喝水

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

2769: 计算并联电阻的阻值

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

2757: 浮点数向零舍入

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