×

# [closed] Answer is not accepted

 0 My code generates results exactly according to the rules and the sample i/0, but codechef wont accept my answer. The question is from the august challenge, rainbow array. What might be the possible reasons of the problem??? asked 17 Aug, 14:16 2★rajenme -1 accept rate: 0% 9.8k●2●13

### The question has been closed for the following reason "Question is related to ongoing contest" by vijju123 17 Aug, 19:55

 2 I looked it up, and the verdict to your submissions is "Wrong answer". This means, that your solution doesn't compute the correct result for all test cases. Codechef has a lot of hidden test cases. So even if your program works with the 2-3 test cases from the problem statement, it still can be wrong and receive WA. Sometimes these hidden test cases contain very special cases, that you have to handle differently. Sometimes these hidden test cases contain very large intstances, e.g. arrays of length $10^5$. Sometimes just normal small tests. Either way, if you receive WA your program computes (sometimes) wrong answers. Check it again, and if you can't find a solution you can post your code tomorrow after the contest has ended. answered 17 Aug, 17:35 566●5 accept rate: 25%
 0 You shouldn't ask anything during an ongoing challenge. Ask them after the contest ends. answered 17 Aug, 14:35 3★sudip_95 695●6 accept rate: 10%

By Email:

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: