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

×

Getting a TLE for snakeeat Problem(binary search).

Hello, Here is the problem link For the Snakeeat Problem. But I am getting a TLE for my submission.
Here is the link for my solution.
Any reviews will helpful.

asked 21 Sep '17, 15:19

buffer0x7cd's gravatar image

2★buffer0x7cd
1
accept rate: 0%

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:

×2,736
×1,056
×801
×266
×26

question asked: 21 Sep '17, 15:19

question was seen: 323 times

last updated: 21 Sep '17, 15:19