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 wangqiannju at 2013-03-08 13:23:19 on Problem 2196
In Reply To:这样也很慢...到底怎么输出最快啊 Posted by:ocnus at 2008-02-10 05:35:56
> 624K 109MS Java 926B 
> code:
> 
> public class Main {
> 	public static void main(String[] args) {
> 	String s ="2992"+"\n"+"2993"+"\n"+"2994"+"\n"+"2995"+"\n"+"2996"+"\n"+"2997"+"\n"+"2998"+"\n"+"2999"+"\n"+"4470"+"\n"+"4471"+"\n"+"4472"+"\n"+"4473"+"\n"+"4474"+"\n"+"4475"+"\n"+"4970"+"\n"+"4971"+"\n"+"4972"+"\n"+"4973"+"\n"+"4974"+"\n"+"4975"+"\n"+"5460"+"\n"+"5461"+"\n"+"5462"+"\n"+"5463"+"\n"+"5464"+"\n"+"5465"+"\n"+"5466"+"\n"+"5467"+"\n"+"5468"+"\n"+"5469"+"\n"+"5960"+"\n"+"5961"+"\n"+"5962"+"\n"+"5963"+"\n"+"6456"+"\n"+"6457"+"\n"+"6458"+"\n"+"6459"+"\n"+"7440"+"\n"+"7441"+"\n"+"7442"+"\n"+"7443"+"\n"+"7444"+"\n"+"7445"+"\n"+"7446"+"\n"+"7447"+"\n"+"7448"+"\n"+"7449"+"\n"+"7940"+"\n"+"7941"+"\n"+"7942"+"\n"+"7943"+"\n"+"8436"+"\n"+"8437"+"\n"+"8438"+"\n"+"8439"+"\n"+"9424"+"\n"+"9425"+"\n"+"9426"+"\n"+"9427"+"\n"+"9428"+"\n"+"9429"+"\n"+"9924"+"\n"+"9925"+"\n"+"9926"+"\n"+"9927"+"\n"+"9928"+"\n"+"9929"+"\n";
>     System.out.println(s);
> 	}
> }

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