「NOIP模拟赛by wulala」公主的游戏

2014年8月16日2,8362

wulala:不就一傻逼贪心吗……

就是把公主的wulala的牌都排序一下然后贪心。。。

我只排序wulala的牌,然后把公主的牌放进平衡树T T

每次找后继

不过有了set这样并不会比正解难写,反倒是更为直接2333

 

avatar
1 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
hzwer Recent comment authors
  Subscribe  
提醒
吴桐

不理解为什么"if(a .v==*t)t++;",是lower_bound左闭右开吗