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:麻烦谁能帮忙看下,为什么超时,感觉已经没法再减了,非常感激

Posted by Kuroro at 2010-11-20 11:53:01 on Problem 1006
In Reply To:麻烦谁能帮忙看下,为什么超时,感觉已经没法再减了,非常感激 Posted by:Kuroro at 2010-11-20 11:34:38
把System.out.printf("Case %d: the next triple peak occurs in %d days.\n", count++, n);
改成
 System.out.println("Case " + count++   
	                    + ": the next triple peak occurs in " + n   
	                    + " days.");  
就AC了 郁闷中。。。。。。。。

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