1080: 战场的数目 摘要:```cpp #include #include using namespace std; typedef long long LL; const LL mod=987654321; LL…… 题解列表 2022年08月24日 0 点赞 0 评论 929 浏览 评分:9.9
耗的时间有点多 摘要:解题思路:注意事项:参考代码:c=[] for i in range(1000,10000): a=int(i/100) b=int(i%100) if (a+b)**…… 题解列表 2022年08月24日 0 点赞 0 评论 386 浏览 评分:9.9
1081: Infinite Dictionaries 摘要:```cpp #include #include #include using namespace std; struct rec { int flag,x,z; st…… 题解列表 2022年08月24日 0 点赞 0 评论 623 浏览 评分:9.9
求大佬只指点 摘要:```c #include #include int main() { int M;//定义输入M scanf("%d", &M); int i; int type[200] …… 题解列表 2022年08月24日 0 点赞 0 评论 387 浏览 评分:9.9
差分与前缀和,时间复杂度O(nlogn) 摘要:解题思路:代码和注释已经很清晰了注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define maxn 100010#define maxm…… 题解列表 2022年08月24日 0 点赞 0 评论 604 浏览 评分:9.9
字符串逆序 摘要:解题思路:注意事项:参考代码:n=95859 while True: n+=1 a=str(n) b=a[::-1] if a==b: pr…… 题解列表 2022年08月24日 0 点赞 0 评论 631 浏览 评分: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 评论 509 浏览 评分:9.9
时间复杂度O(n),简单的数学题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define maxn 10010int n,ans[maxn];int main…… 题解列表 2022年08月24日 0 点赞 0 评论 614 浏览 评分:9.9
求大佬指点---查重与排序 摘要:```c //思路:输入->查重->排序->输出; #include int main() { int M; scanf("%d", &M); int a[200];//可以用动态…… 题解列表 2022年08月25日 0 点赞 0 评论 428 浏览 评分: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 评论 388 浏览 评分:9.9