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 |
提醒下WA的同学。在机器和机器建边的时候,要这样写。 for(int l = 1; l <= n; ++l){ // 外层循环扫到 i -> l if(i == l) continue; WA了一页因为写成这样。 for(int l = i + 1; l <= n; ++l){ // 外层循环扫到 i -> l 啥也不说了,先等我哭够。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator