![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
思维
冷酷|射手
这个作者很懒,什么都没留下…
展开
-
模拟赛2020.4.23A题题解
题目大意 有nnn个数,a1,a2,⋯ ,ana_1,a_2,\cdots,a_na1,a2,⋯,an,求min((ai or aj) xor (ai and aj))(i≠j)min((a_i\ or\ a_j)\ xor\ (a_i\ and\ a_j))(i\neq j)min((ai or aj)&n...原创 2020-04-29 15:06:13 · 301 阅读 · 0 评论 -
Codeforces 1292C Xenon's Attack on the Gangs
题目链接 Codeforces 1292C Xenon’s Attack on the Gangs 题目大意 给定一棵树,将[0,n−2][0,n-2][0,n−2]内的每个整数都仅用一遍填到每条边上,使得∑1≤u≤v≤nmex(u,v)\sum_{1\leq u\leq v\leq n}mex(u,v)∑1≤u≤v≤nmex(u,v)最大,mex(u,v)mex(u,v)mex(u,v)表示从...原创 2020-02-09 11:28:09 · 233 阅读 · 0 评论 -
The Pilots Brothers refrigerator(思维,模拟)
The game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator. There are 16 handles on the refrigerator door. Every handle can be in one of two ...原创 2019-12-18 14:14:06 · 252 阅读 · 0 评论