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:这题用java怎么过的?

Posted by united at 2009-11-19 20:15:51 on Problem 2602
In Reply To:Re:这题用java怎么过的? Posted by:D00109 at 2009-11-19 17:46:33
我开始是将每行的和存到数组的对应位置里面,然后再从最后一位开始判断是否需要进位。这样做超时。
然后用大整数,还是超时。我用的 Scanner 估计主要的时间是花在读取字符串上了。

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