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

×

# weak test in encoder https://www.codechef.com/ENCO2018/

 1 https://www.codechef.com/viewsolution/21215759 this solution should be incorrect because not considering diagonal case but gives right answer. weak test case This question is marked "community wiki". asked 27 Oct '18, 00:51 1●2 accept rate: 0% Even in Second Largest Element problem, https://www.codechef.com/viewsolution/21221677 This solution gives output as 1 for [3,3,3,3,3] and K=3. Answer should be 0 I guess. (27 Oct '18, 01:15) vohraa3★

One Answer:
 1 I found the same thing. The test cases are checking for only CHECK position and not for CHECKMATE position ; Only CHECK CHECKER got AC. The real solution should be this. answered 27 Oct '18, 01:04 78●6 accept rate: 7%
 toggle preview community wiki:
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:

×161

question asked: 27 Oct '18, 00:51

question was seen: 196 times

last updated: 27 Oct '18, 01:21