题解列表

筛选

[编程入门]有规律的数列求和

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;float seqSum(short n); //有规律数列求和int main()……

X进制减法(C++)

摘要:```cpp #include using namespace std; typedef long long ll; const int N=1e5+5; const int MOD=1e9……

Tom数的解法

摘要:# 1、定义 ```cpp #include #include using namespace std; char *str; int tom; ``` # 2、输入 看似很困难,其……

积木画(c++)

摘要:```cpp #include using namespace std; typedef long long ll; const int N=1e7+5; const int MOD=1e9……

[编程入门]自定义函数之字符串反转

摘要:解题思路:因为要倒序这个字符串,所以我们可以把他当做倒序输出注意事项:注意是从s.length()-1开始,到i>=0结束参考代码:#include<bits/stdc++.h> using nam……