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 |
用list来存边或者用cin来读取输入都会超时.....我用了Tarjan和LCA->RMQ-ST都TLE 原来是因为用了list和cin 链表自己写,输入用scanf就AC了 顺便测试了一下,由于Tarjan几乎线性,所以比LCA->RMQ-ST快不少 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator