Code_Mystique's blog

By Code_Mystique, history, 16 months ago, In English

I am new to codeforces. So, I am not sure whether it is correct for me to ask my doubt here or not. So, if anyone knows some discuss forums please let me know...

My doubt is in C-2 (Dual {hard} ). My accepted solution => 216626455 if I comment out the "if statements" in the last 2 paragraphs, then I get wrong answer in test case -2. Can anyone give me a testcase for which it may fail if I comment out those statements??

[Note :- I'm doing c==1 after making all numbers +ve & doing d==1 after making all numbers -ve] -----------------------------------------------------------------*****-----------------------------------------------------------

  • Vote: I like it
  • 0
  • Vote: I do not like it