Monopoly 按照官方题解所写,本题细节较多,这里我用\(map\)套\(vector<pair<int,int>>\)维护余数,需要注意的是,根据题解所说要找到\(\leq x\)的最大的数且位置最小,所以我对\(pair\)重定义了排序,让第二维按从大到小排 ...
Nun Heh Heh Aaaaaaaaaaa Problem Description Vasily Tadokorov is a stringologist. He thinks a string is fragrant if it can be divided into two parts nunhehheh as the prefix and a number of excluding a ...
2021-10-10 20:34 0 462 推荐指数:
Monopoly 按照官方题解所写,本题细节较多,这里我用\(map\)套\(vector<pair<int,int>>\)维护余数,需要注意的是,根据题解所说要找到\(\leq x\)的最大的数且位置最小,所以我对\(pair\)重定义了排序,让第二维按从大到小排 ...
目录 1001 ^&^ 1002 array 1003 K-th occurrence 1004 path 1005 huntian oy 1006 Shuffle Card 1007 Windows Of CCPC 1008 Fishing Master 1009 Kaguya ...
Art Class 2.45%(11/449) !!! Graph Theory Class 22.46%(856/3812) +++ Express Mail Taking 26.69%(278 ...
^ & ^ Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Su ...
(7题弟弟。C题知道正解,懒得写了) A:^&^ HDU - 6702 题意:给出A,B。求一个最小的C,使得min=(A^C)&(B^C)最小。 思路 ...
1001 1002 题意:给定一个n个点的完全图,边权为lcm(i+1,j+1),求最小生成树。 考虑这样一个构造方法 所有数字都向自身的最小质因数连边 这样可以保证每个数字的贡献都是其本身 ...
1001.Art Class 1002.Graph Theory Class Min25筛 1003.Express Mail Taking 1004.Chess Class ...