题解列表

筛选

超级简单版【c++】

摘要:````cpp #include using namespace std; int months[] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, ……

编写题解 1204: 大小写转换

摘要:解题思路:注意事项:参考代码:#include<iostream>#include <iomanip>#include<ctype.h>using namespace std;int main(){ ……

编写题解 1184: 众数问题

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

矩阵的幂【写个快速幂矩阵】

摘要:整数快速幂的求解:[快速幂][快速幂] 矩阵快速幂的不同,在于初始情况乘单位矩阵,而非乘1,并且采用矩阵乘法,而非普通整数乘法 ```cpp #include #include using ……

编写题解 1183: 人见人爱A+B

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

编写题解 1182: 人民币问题

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<math.h>#include <iomanip>#define PI 3.1415using namespace ……

编写题解 1173: 计算球体积

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<math.h>#include <iomanip>#define PI 3.1415using namespace ……