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

×

-1.00 execution time in tiebreaker question

When do i get a execution time of -1.00 ? What does it mean ? The verdict is still the wa but what does -1 signify in execution time?

asked 12 Jun '16, 11:17

suraj_ch77's gravatar image

5★suraj_ch77
513
accept rate: 33%


I guess it means Idleness Limit Exceeded . It happens when your code is infinitely waiting for an input from stdin. However, i am not completely sure

link

answered 12 Jun '16, 13:45

fauzdar65's gravatar image

5★fauzdar65
29114
accept rate: 21%

4

Congragulations!! You just solved the halting problem...

(14 Jun '16, 00:13) sandeep93★

I think it has got nothing to do with time as such,it just means Wrong answer. (I actually got the same verdict and when i rectified a small bug it gave correct answer.)

link

answered 13 Jun '16, 10:26

prateek1996's gravatar image

5★prateek1996
1
accept rate: 0%

Make very very sure you're flushing all you I/O buffers. I had this problem in Python and I fixed it by doing

sys.stdout.flush()
sys.stdout.flush()

after every time I print a response.

link

answered 14 Jun '16, 02:28

luc4sdreyer's gravatar image

5★luc4sdreyer
1427
accept rate: 10%

I was facing the same problem in Snackdown's elimination round yesterday even after using fflush(stdout) after answering each query. Problem link - https://www.codechef.com/SNCKEL16/problems/SEGSUMQ What can be the possible reasons for -1 execution time?

link

answered 20 Jun '16, 15:36

akshayv3's gravatar image

3★akshayv3
1568
accept rate: 4%

toggle preview
Preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×234

question asked: 12 Jun '16, 11:17

question was seen: 1,327 times

last updated: 20 Jun '16, 15:36