Блог пользователя Livu_sz

Автор Livu_sz, история, 22 месяца назад, По-английски

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.

  • Проголосовать: нравится
  • +1
  • Проголосовать: не нравится

»
22 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

Spoiler
»
22 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
22 месяца назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

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

  • »
    »
    22 месяца назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

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

    • »
      »
      »
      22 месяца назад, # ^ |
        Проголосовать: нравится +1 Проголосовать: не нравится

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

      • »
        »
        »
        »
        22 месяца назад, # ^ |
          Проголосовать: нравится +1 Проголосовать: не нравится

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