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

此题数据范围给错了!!

Posted by Venique at 2012-06-15 23:12:56 on Problem 2387
本来是一道很简单的spfa,硬是被错误的数据范围弄得Wrong Answer了好几次,将数组开到400000足够了,

ps:
判断是否有数据超界的方法:
scanf("%d%d",&m,&n);
if (m>2001||n>1001)  while(1) {printf("去你妹的!\n");}

提交结果若为OLE,结果不言而喻。

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