题解列表

筛选

1105数列(函数加while循环)

摘要:解题思路:注意事项:参考代码:#includeusing namespace std;//鬼知道这道题是怎么想的,我用pow求k的次方,结果总有一个例题过不去,我真的服了int power(int k……

]自定义函数之字符串拷贝

摘要:解题思路:注意事项:参考代码:def kaobei(my_str,m,n):    a = []    for i in range(m-1,n):        print(my_str[i],en……

map存储,指针遍历,简洁优雅

摘要:解题思路:map存储字符,循环遍历注意事项: 记得getchar()清空缓冲区参考代码:#include <bits/stdc++.h> #define IOS ios::sync_with_std……

1852: 求1+2+3+...+n的值

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