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

Re:SOS:请教牛人帮帮忙,或者提供可以使这个程序出错的数据

Posted by darklin at 2005-03-22 16:06:51 on Problem 1017
In Reply To:Re:SOS:请教牛人帮帮忙,或者提供可以使这个程序出错的数据 Posted by:darklin at 2005-03-22 16:02:27
很同情,因为这道题我做得也特郁闷,不过不太想看你的程序(我觉得你写的太长了)
给你几组数据吧,这是兄弟我几次走过的弯路,你看看对不对

INPUT:
40 9 0 2 0 0
41 9 0 2 0 0
44 0 0 0 4 0
0 2 3 0 0 0
0 0 0 0 0 0
OUTPUT:
3
4
4
2




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