题解列表

筛选

1585:链表操作

摘要:```cpp #include using namespace std; typedef struct node { int shibu; int xubu; node* n……

1014: [编程入门]阶乘求和

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

2825: 计算多项式的值

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

C++使用Swap函数倒置字符串

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){    int num = 0;// 读入字符串长度    cin >……

to_string的大作用

摘要:参考代码:#include<bits/stdc++.h> using namespace std; #define int long long bool haoshu(int i) { s……

前缀和算法

摘要:参考代码:#include<bits/stdc++.h> using namespace std; #define int long long signed main() { int n;……

有意思的轮回

摘要:参考代码:#include<bits/stdc++.h> using namespace std; string s1[10]={"geng","xin","ren","gui","jia","y……