【2016-2017NEERC- gym101142-C.CodeCoder vs TopForces】树状数组+记忆化搜索
CodeCoder vs TopForces
题目链接:
https://codeforc.es/gym/101142
Description
Input
Output
Sample Input
4
2 3
3 2
1 1
4 5
Sample Output
2
2
0
3
题意
给你n个人,每个人有两个权值X,Y,所有的权值都是唯一的。
定义A比B强为Ax>BxA_x>B_xA...
原创
2019-09-27 15:09:46 ·
162 阅读 ·
0 评论