![](https://img-blog.csdnimg.cn/20190918140129601.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
组队训练
文章平均质量分 80
记录ACM组队训练的部分题目
PushyTao
这个作者很懒,什么都没留下…
展开
-
[模板 辛普森积分] Grazed Grains | NCPC2021 | 辛普森积分求圆的面积并
评测地址可以到:传送门题目描述This year, there have been unusually many UFO sightings reported. Nobody knows if they are caused by optical illusions, weather phenomena, or secret technology being tested by foreign powers (terrestrial or not). UFO enthusiasts across the原创 2021-11-01 19:58:23 · 178 阅读 · 0 评论 -
2021组队训练赛第11场
2021组队训练赛第11场问题 A: ABB题意考点问题 A: ABB题意给定长度为n的字符串,在给定的字符串后面加上长度最短的字符串,使得到的字符串回文,求最少添加几个字符考点字符串哈希 or 马拉车算法(Manacher)const ll inf = 1e15;const ll INF = 0x3f3f3f3f;const int MAXN = 410010;char A[MAXN * 2];int B[MAXN * 2]; void Manacher(char s[], int原创 2021-04-05 19:01:59 · 233 阅读 · 1 评论 -
UPC组队训练-补题记录
Game on a Tree时间限制: 1 Sec 内存限制: 1024 MB题目描述Alice and Bob play a game on a tree. Initially, all nodes are white.Alice is the first to move. She chooses any node and put a chip on it. The node becomes black. After that players take turns. In each turn,原创 2020-11-11 16:18:23 · 342 阅读 · 0 评论 -
2020中石油组队训练第八场记录
问题 D: Eeny Meeny时间限制: 2 Sec 内存限制: 128 MB题目描述“Eeny meeny miny moe” is a well-known nursery rhyme in English, used (among other things) by kids to “randomly” select members of a team. It exists in many variations, one of which goes like this:Eeny, meeny原创 2020-09-13 21:27:49 · 531 阅读 · 0 评论