题解列表

筛选

快速排序(c++代码)

摘要:解题思路:注意事项:参考代码:const int MAX = 10;int arr[MAX];void qsort(int l, int r) { if (l > r)return; int i = ……

2908: 白细胞计数

摘要:``` #include using namespace std; const int N = 100010; double a[N]; int main(){ double sum =……

1669: 求圆的面积

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

2775: 等差数列末项计算

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

2773: 计算线段长度

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

题解 2771: 大象喝水

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