Tariqul's blog

By Tariqul, history, 4 weeks ago, In English,

Problem statement: http://codeforces.com/contest/1155/problem/B My code: http://codeforces.com/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.

 
 
 
 

»
4 weeks 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).

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

make deque type as int.

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