题解列表

筛选

2771: 大象喝水

摘要:解题思路:注意事项:3.14159* r * r * h是圆柱体积,20升要转化成20000毫升参考代码:#include <bits/stdc++.h>using namespace std;int……

公式and代码

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

编写题解 2771: 大象喝水

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

2798;整数序列的元素最大跨度值

摘要:解题思路:注意事项:参考代码:#includeusing namespace std;//老师教的int main(){//老师教的   long long m=1e18;//老师教的   int  ……

题解 2779: 输出绝对值

摘要:解题思路:创建一个浮点型变量,再用printf输出就可以了。注意事项:要用#include <bits/stdc++.h>当头文件参考代码:#include <bits/stdc++.h>using ……