Codeforces and Polygon may be unavailable between Aug. 17, 19:00 (UTC) to Aug. 17, 22:00 (UTC) due to planned power outages. ×

Livu_sz's blog

By Livu_sz, history, 6 weeks 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

»
6 weeks 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
»
6 weeks 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

  • »
    »
    6 weeks 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"

»
6 weeks ago, # |
  Vote: I like it +1 Vote: I do not like it

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

  • »
    »
    6 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

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

    • »
      »
      »
      6 weeks ago, # ^ |
        Vote: I like it +1 Vote: I do not like it

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

      • »
        »
        »
        »
        6 weeks 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.

        • »
          »
          »
          »
          »
          6 weeks ago, # ^ |
            Vote: I like it 0 Vote: I do not like it

          Hey just tried to upsolve this problem did same as editorialist.

          Still getting TLE, why so?