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


CHEF and GROUND getting "wrong answer"

Hi, this is my first attempt to codechef. I am getting correct results in my system, for all test cases i can think of. But i get "wrong answer" when i submit. I am unable to detect where my code get wrong. Is there any specific approach or anything to be kept in mind while dealing with this issue.

Thanks :)

asked 04 Oct '14, 07:14

bit123's gravatar image

accept rate: 0%

Hi bit123! Keep on thinking about more test cases! :) Although I have realized that there is some problem with that question. Even for very weak cases it should work fine. Hint: Don't just write your code as the problem statement is formulated. Try anything better. ;)


answered 04 Oct '14, 08:54

xiaoyu_02's gravatar image

accept rate: 5%

toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

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


question asked: 04 Oct '14, 07:14

question was seen: 2,054 times

last updated: 04 Oct '14, 08:54