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

问题是我现在不知道好方法和普通方法的运行时间是多少

Posted by hawk at 2004-11-21 19:44:18
In Reply To:你不会设置时限。如果你是希望别人用类似100ms里过的好方法才能过的话,那么你的时限就设得更小一点(如300ms),如果你希望别人用普通的标准方法过的话,那么时限就设宽一点(一般方法的三倍左右),总之就不要设置 Posted by:xreborner at 2004-11-21 19:40:01
还有个问题,输入输出多的时候,c++的流输入就会慢很多很多,这个时候就不是算法的差别了,
考虑c++也能过,我就得放时间,但是放宽了时间,就可能会让那些用c风格的输入的差算法也能过了。
所以不要想得那么简单
还有,凭什么非要3倍,我给10倍或者20倍,让不止一种算法能过,又不让所有算法能过(比如枚举),也是一种策略。
最后欢迎提意见,不过不欢迎不友好的提意见。
谢谢

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