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

×

# Getting WA in KRYP6

 0 Hi, I don't know where i am getting wrong with my code can anybody can figure it out please. I am not getting why to use binary search in this question. Link to the question. Click here for my code Thank's a lot. asked 30 May '18, 21:09 5●2 accept rate: 0%

 0 I think you have not understood the question properly. Try this test case : 5 5 4 1 2 3  Here your code fails . answered 30 May '18, 22:43 4★raj_13 51●2 accept rate: 28% thank's for that (30 May '18, 23:43)
 0 can u please give the link to the question :) answered 30 May '18, 21:18 325●6 accept rate: 0% now i have provided you question link also. (30 May '18, 21:27)
 toggle preview community wiki:
Preview

### Follow this question

By Email:

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

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• 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,070
×1,038
×278
×141
×14

question asked: 30 May '18, 21:09

question was seen: 122 times

last updated: 30 May '18, 23:43