题解列表

筛选

21.计算2^n-题解(C++代码) 快速幂

摘要:一道快速幂,当然不用也可以,因为后台给的数据没这么严谨,一般解法也可以过 ``` #include using namespace std; int mod=10007; int quick……

求圆的面积-题解(Python代码)

摘要:```python r = float(input())#输入并且 字符转为整型 ans = r*r*3.1415926#公式 print("{:.2f}".format(ans))#格式化输出……