Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:priority_queue一定要声明greaterIn Reply To:priority_queue一定要声明greater Posted by:1300013015 at 2018-01-04 21:57:07 > 否则会一直TLE 的确,我也是用priority_queue时,自定义的struct重载operator<,函数体里写的还是小于号(当时不是很清楚原理),然后T了半天没找出来原因,改成大于就A了。。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator