# HG changeset patch # User Oleg Oshmyan # Date 1306532386 -3600 # Node ID d2c266c8d82031bdd3c25dafd4e8de6f01a82b75 # Parent 25b929aa92a1bd02e851631cc4a24ff2f6b68d43 Output-only problems no longer print times diff -r 25b929aa92a1 -r d2c266c8d820 problem.py --- a/problem.py Fri May 27 02:27:07 2011 +0100 +++ b/problem.py Fri May 27 22:39:46 2011 +0100 @@ -132,7 +132,10 @@ say('%*s: ' % (prob.cache.padoutput, id), end='') sys.stdout.flush() try: - granted = case(lambda: (say('%7.3f%s s, ' % (case.time_stopped - case.time_started, case.time_limit_string), end=''), sys.stdout.flush())) + if prob.config.kind != 'outonly': + granted = case(lambda: (say('%7.3f%s s, ' % (case.time_stopped - case.time_started, case.time_limit_string), end=''), sys.stdout.flush())) + else: + granted = case(lambda: None) except testcases.TestCaseSkipped: verdict = 'skipped due to skimming mode' except testcases.CanceledByUser: