You are not logged in. Please login at www.codechef.com 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

5★kqr45j
6117
accept rate: 0%

edited 18 May '15, 15:07

admin's gravatar image

0★admin ♦♦
19.8k350498541


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).

link

answered 10 May '15, 13:16

deysaikat95's gravatar image

2★deysaikat95
16
accept rate: 50%

edited 10 May '15, 13:17

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

question was seen: 1,635 times

last updated: 18 May '15, 15:07