Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

提醒下WA的同学。

Posted by kg20006 at 2015-06-05 16:54:37 on Problem 3436
在机器和机器建边的时候,要这样写。
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator