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 |
A了第一道图论,发帖庆祝一下节点数太多,就算用bool数组建邻接矩阵也会爆内存,我直接用位运算,一位一位的存,只要12M多就可以存全部节点,加个广搜,不过时间要3秒多,不知道要怎么优化了。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator