Tariqul's blog

By Tariqul, history, 6 years ago, In English

Problem statement: http://codeforces.me/contest/1155/problem/B My code: http://codeforces.me/contest/1155/submission/53187901 I am getting the wrong answer for test case 90. But the input is very big. Unable to test it. Could someone provide a small test case for which my code gets the Wrong answer? I tried for a couple of hours but failed. Thanks.

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

»
6 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Tariqul (previous revision, new revision, compare).

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

make deque type as int.

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

    Ah shit! I missed that. Initially, it was given to push character but later changed the logic. But forgot to change the type name.

    BTW, Thank you very much, for your review.