You are not logged in. Please login at to post your questions!


Does the system test solution on all tests?

I want to know, what time my solution runs in. I wrote a program that doesn't need any input and outputs a string that is going to get Wrong Answer outcome on any input test. Does the system always test the program until the first unpassed test? Is the time that I get in "My submissions" table the running time of my program that was runned once?

asked 09 Apr '12, 14:42

niyaznigmatul's gravatar image

accept rate: 33%

edited 25 Apr '12, 23:25

tojochacko's gravatar image

2★tojochacko ♦

It is until the first failed test file. The program is tested under one or more test files. A single test file contains input under specifications in the problem.

If your program gave wrong answer for first test file then it is run-time of one execution. If luckily it managed to give output for first few test files then it would be sum of execution times of all the runs.


answered 09 Apr '12, 16:54

gultus's gravatar image

4★gultus ♦
accept rate: 51%

edited 25 Apr '12, 23:25

tojochacko's gravatar image

2★tojochacko ♦

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 09 Apr '12, 14:42

question was seen: 1,256 times

last updated: 24 Mar '16, 00:40