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

用G++可以将时间控制在200MS以下(原因)

Posted by 0409 at 2009-03-24 20:54:10 on Problem 2602
G++做了一些优化处理。在这里表现比较明显的就是输入输出,大量数据的输入输出很耗时。在输入时用getchar,输出时用putchar,提交选用G++,则高枕无忧。但是如果想使用速度比较好的C的scanf和printf,也许就很痛苦了……

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