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


CHAPD May Challenge weak testcases

I think that the testcases for the problem CHAPD(Chef and Prime Divisors ) are very weak. I have got an AC, but my solution gives "No" for input: 10007 100140049 ,but the answer should be "Yes" since 100140049 = 10007*10007 and 10007 is a prime divisor of 100140049 and it also divides 10007, So shouldn't be the answer "Yes" for this input?? Correct me if I am wrong and if this question is against the rules of Codechef, then I will close this question. Thank you

asked 10 May '15, 10:58

kqr45j's gravatar image

accept rate: 0%

edited 18 May '15, 15:07

admin's gravatar image

0★admin ♦♦

I think you should email the codechef rather than posting a test case here. Posting a test case with answer is against the rules(during the contest).


answered 10 May '15, 13:16

deysaikat95's gravatar image

accept rate: 50%

edited 10 May '15, 13:17

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: 10 May '15, 10:58

question was seen: 1,635 times

last updated: 18 May '15, 15:07