耗的时间有点多 摘要:解题思路:注意事项:参考代码:c=[] for i in range(1000,10000): a=int(i/100) b=int(i%100) if (a+b)**…… 题解列表 2022年08月24日 0 点赞 0 评论 565 浏览 评分:9.9
1081: Infinite Dictionaries ```cpp#include#include#includeusingnamespacestd;structrec{intflag,x,z;stringy;rec(){flag=0;x=0;y="";z=0;}};booloperatorsecond.z))return1;used1[it->seco 题解列表 2022年08月24日 0 点赞 0 评论 848 浏览 评分:9.9
求大佬只指点 摘要:```c #include #include int main() { int M;//定义输入M scanf("%d", &M); int i; int type[200] …… 题解列表 2022年08月24日 0 点赞 0 评论 625 浏览 评分:9.9
差分与前缀和,时间复杂度O(nlogn) 摘要:解题思路:代码和注释已经很清晰了注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define maxn 100010#define maxm…… 题解列表 2022年08月24日 0 点赞 0 评论 804 浏览 评分:9.9
字符串逆序 摘要:解题思路:注意事项:参考代码:n=95859 while True: n+=1 a=str(n) b=a[::-1] if a==b: pr…… 题解列表 2022年08月24日 0 点赞 0 评论 837 浏览 评分:9.9
时间复杂度O(1) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;ll a,b,n,ans;int main…… 题解列表 2022年08月24日 0 点赞 0 评论 691 浏览 评分:9.9
时间复杂度O(n),简单的数学题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define maxn 10010int n,ans[maxn];int main…… 题解列表 2022年08月24日 0 点赞 0 评论 803 浏览 评分:9.9
求大佬指点---查重与排序 摘要:```c //思路:输入->查重->排序->输出; #include int main() { int M; scanf("%d", &M); int a[200];//可以用动态…… 题解列表 2022年08月25日 0 点赞 0 评论 637 浏览 评分:9.9
求大佬只指点——高中数列题(中国剩余定理) 摘要:```c #include int main() { int x, y; scanf("%d %d", &x, &y); int i; int sum = 0; for (i…… 题解列表 2022年08月25日 0 点赞 0 评论 621 浏览 评分:9.9
题目 1063: 二级C语言-统计字符 ```#include#includeusingnamespacestd;intmain(){stringstr;getline(cin,str);intz=0,t=0,r=0,k=0;for(inti=0;i='0'&&str[i]='A'&&s 题解列表 2022年08月25日 0 点赞 2 评论 905 浏览 评分:9.9