摘要: A题:辛晓东 题解: #include<stdio.h> #include<string.h> #include<math.h> #include<stdlib.h> #include<iostream> #include<cstdio> #include<cstring> #include<alg 阅读全文
posted @ 2020-05-20 12:28 浪在ACM 阅读(126) 评论(0) 推荐(0) 编辑
摘要: C题:孙晨曦 题解: 阅读全文
posted @ 2020-05-20 10:04 浪在ACM 阅读(146) 评论(0) 推荐(0) 编辑
摘要: AB题:徐光旭 题解:https://blog.csdn.net/xgx984826498/article/details/105350779 阅读全文
posted @ 2020-05-20 10:02 浪在ACM 阅读(67) 评论(0) 推荐(0) 编辑
摘要: DE题:孙晨曦 题解:https://vjudge.net/contest/366919 阅读全文
posted @ 2020-05-20 10:01 浪在ACM 阅读(71) 评论(0) 推荐(0) 编辑
摘要: D、E、F题:孙晨曦 题解: D题题解:组合数。(直接选出来C(n,k)个位置,然后这k个位置取全排列的话,需要考虑去重,所以换个选法) 这样做,先选出k个位置,然后只取让这k个位置都不能选择自己的indice的排列例如,3个数,就只能选取231,312这两种排列。经模拟得出1个数有0个这种排列,2 阅读全文
posted @ 2020-05-20 09:56 浪在ACM 阅读(112) 评论(0) 推荐(0) 编辑
摘要: A、C题:马鸿儒 A题解: #include <bits/stdc++.h> using namespace std; typedef long long ll; int bk[1005][1005]; int main() { ios::sync_with_stdio(0); int n,m; c 阅读全文
posted @ 2020-05-20 09:52 浪在ACM 阅读(96) 评论(0) 推荐(0) 编辑
摘要: D、E题:孙晨曦 题解:https://www.bilibili.com/video/BV1ji4y1t79k(视频讲解) 阅读全文
posted @ 2020-05-20 09:47 浪在ACM 阅读(84) 评论(0) 推荐(0) 编辑
摘要: A、B、C题:马鸿儒 A题解: #include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(0); long long a,b,c; cin>>a>>b>>c; if(a==b) { cout<<"Y 阅读全文
posted @ 2020-05-20 09:46 浪在ACM 阅读(129) 评论(0) 推荐(0) 编辑
摘要: A题:马鸿儒 题解: #include <bits/stdc++.h> using namespace std; int a[10005],b[10005],n,c[10005]; void dfs(int* a,int* b,int cnt) { if(cnt==n+1) { int pos,ff 阅读全文
posted @ 2020-05-20 09:45 浪在ACM 阅读(119) 评论(0) 推荐(0) 编辑
摘要: B题:马鸿儒 题解: B题只需要分类套路即可,如果b数组出现了f数组没有出现过的,那么一定不可能,如果b数组出现了,f数组出现也出现了但是出现多个,那么一定是不一定,然后的就是可能,直接按照位置输出就行 C题:孙晨曦 题解:从小到大排序(排序规则为 主value 次index)排序后的序列,对于位置 阅读全文
posted @ 2020-05-20 09:41 浪在ACM 阅读(102) 评论(0) 推荐(0) 编辑
摘要: A题:纵丹阳 题解:https://blog.csdn.net/qq_44722533/article/details/106200325 B题:刘少瑞 题解:https://blog.csdn.net/hanhai768/article/details/32727821 阅读全文
posted @ 2020-05-20 09:33 浪在ACM 阅读(98) 评论(0) 推荐(0) 编辑
摘要: A题:丛玉辰 题解:https://blog.csdn.net/weixin_45795435/article/details/106004658 B题:徐光旭、苏用 题解: (徐光旭)https://blog.csdn.net/xgx984826498/article/details/106006 阅读全文
posted @ 2020-05-20 09:26 浪在ACM 阅读(111) 评论(0) 推荐(0) 编辑
摘要: A题:刘少瑞 题解:https://blog.csdn.net/kangyupl/article/details/105980727 (PS)学习资料【倍增LCA】链接:https://www.cnblogs.com/lbssxz/p/11114819.html 阅读全文
posted @ 2020-05-20 09:23 浪在ACM 阅读(108) 评论(0) 推荐(0) 编辑
摘要: A题:王一帆 题解:https://blog.csdn.net/Legend_666/article/details/105958831 B题:孙晨曦 题解:设模式串为a,询问串为b,对应长度为La,Lb①La-Lb>1的情况, NO②La-Lb==1 且 a串中不含'*'的情况, NO写的时候一定 阅读全文
posted @ 2020-05-20 09:21 浪在ACM 阅读(96) 评论(0) 推荐(0) 编辑
摘要: A题:纵丹阳 题解:https://blog.csdn.net/qq_44722533/article/details/106200325 B题:丛玉辰 题解:https://blog.csdn.net/weixin_45795435/article/details/106200845 D题:梁延杰 阅读全文
posted @ 2020-05-20 07:32 浪在ACM 阅读(165) 评论(0) 推荐(0) 编辑
摘要: A题 章思航 题解:https://blog.csdn.net/zsh20001001/article/details/106149739 B题 马鸿儒 题解:https://vjudge.net/solution/25722135 阅读全文
posted @ 2020-05-20 07:29 浪在ACM 阅读(130) 评论(0) 推荐(0) 编辑