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

×

How can the exactly same solutions produce different time

How is it possible that the exactly same solution produces 0.3 in first run and 0.2 sec in second run ??

The solutions are
http://www.codechef.com/viewsolution/6357468
and
http://www.codechef.com/viewsolution/6357468

asked 27 Feb '15, 20:01

nickzuck_007's gravatar image

3★nickzuck_007
191621
accept rate: 14%


Such a small difference due to a compiler optimization done in one case and not the other or even server load.
You may refer to this question: http://discuss.codechef.com/questions/60253/why-time-increases?page=1#60256

link

answered 27 Feb '15, 23:39

rishabhprsd7's gravatar image

2★rishabhprsd7
1.9k11242
accept rate: 14%

edited 27 Feb '15, 23:51

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:

×1,365
×591
×196

question asked: 27 Feb '15, 20:01

question was seen: 893 times

last updated: 27 Feb '15, 23:51