Livu_sz's blog

By Livu_sz, history, 21 month(s) ago, In English

Hello codeforces.

Hope you all doing well and are healthy.

Today I was upsolving the Subsequence LCM

I got wrong answer, now when I used Debug feature of the codechef, I saw that my output and expected are same but it is still showing that my answer is wrong.

Please look into the screenshot below

issue

Is it my bug in my computer or bug in codechef?

My solution link : Link

Codechef Admin please look into it.

Thanks and Have a nice day.

  • Vote: I like it
  • +1
  • Vote: I do not like it

| Write comment?
»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

If anyone wants the test case where it is showing so, the test case is :

Spoiler
»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

Yes, this is a bug and we're looking into it. Your code fails on this input: https://pastebin.com/PckV39RU

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    Hi CodeChef, can you fix calendar API too, its not showing contest name in the placeholder, and shows "busy"

»
21 month(s) ago, # |
  Vote: I like it +1 Vote: I do not like it

This should hopefully be fixed now. Please check and let us know.

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Yes It is fixed, thanks a lot. Codechef is becoming better everyday.

    • »
      »
      »
      21 month(s) ago, # ^ |
        Vote: I like it +1 Vote: I do not like it

      But is too long test case and also showing ... in the end

      • »
        »
        »
        »
        21 month(s) ago, # ^ |
          Vote: I like it +1 Vote: I do not like it

        It shows the smallest uploaded testcase where your code fails. So your bug is possibly something which manifests mostly only in large inputs.