本人水平有限,题解不到为处,请多多谅解 本蒟蒻谢谢大家观看 题目: Problem H: [Usaco2008 Nov]mixup2 混乱的奶牛 Description 混乱的奶牛 [Don Piele, 2007] Farmer John的N(4 <= N <= 16)头奶牛中的每一头都有一个唯一 ...
分类:
其他好文 时间:
2019-08-04 10:47:27
阅读次数:
111
问题 E: Jiu Yuan Wants to Eat 题目描述 You ye Jiu yuan is the daughter of the Great GOD Emancipator. And when she becomes an adult, she will be queen of Tus ...
分类:
其他好文 时间:
2019-08-04 10:25:18
阅读次数:
76
Aggressive cows 直接上中文了 Descriptions 农夫 John 建造了一座很长的畜栏,它包括N (2 <= N <= 100,000)个隔间,这些小隔间依次编号为x1,...,xN (0 <= xi <= 1,000,000,000). 但是,John的X (2 <= X < ...
分类:
其他好文 时间:
2019-08-03 21:13:15
阅读次数:
94
题意 对一个有1e5个点,点权初值为0的树上进行4种操作: 1、结点u到结点v上的所有点权乘x。 2、结点u到结点v上所有的点权加x。 3、结点u到结点v上所有的点权取非。 4、结点u到结点v路径上点权的和。 _答案模$2^{64}$_ 思路 对操作1、2树链剖分加线段树维护即可,对操作3,取非操作 ...
分类:
其他好文 时间:
2019-08-03 18:50:52
阅读次数:
91
题目描述 You ye Jiu yuan is the daughter of the Great GOD Emancipator. And when she becomes an adult, she will be queen of Tusikur, so she wanted to trave ...
分类:
其他好文 时间:
2019-08-03 10:27:13
阅读次数:
89
"K th Closest Distance" 主席树第二波~ 题意 给你$n$个数$m$个询问,问$i\in [l,r]$计算每一个$|a_{i} p|$求出第$k$小 题目要求强制在线$l = l \oplus ans、r = r \oplus ans、p = p \oplus ans、k = ...
分类:
其他好文 时间:
2019-08-03 00:42:42
阅读次数:
75
Description Bessie wants to navigate her spaceship through a dangerous asteroid field in the shape of an N x N grid (1 <= N <= 500). The grid contains ...
分类:
其他好文 时间:
2019-08-02 22:48:18
阅读次数:
116
I - O'My! Gym - 101350I Note: this is a harder version of Mirrored string I. The gorillas have recently discovered that the image on the surface of th ...
分类:
其他好文 时间:
2019-08-02 22:43:39
阅读次数:
117
Codeforces Round #576 (Div. 2) D - Welfare State There is a country with n citizens. The i-th of them initially has ai money. The government strictly ...
分类:
其他好文 时间:
2019-08-02 16:38:28
阅读次数:
155