fiire_ice's blog

By fiire_ice, history, 2 years ago, In English

Hello Codeforces!

Recently I gave this OA at Impact Analytics, but I couldn't understand this problem at all. The language of the problem statement isn't clear. Can someone just tell me whether the problem is correct? By that I mean can someone see if all the test inputs outputs make sense or not. Here is the problem statement

Thank you, bless you, Merry Christmas, Happy New Year!

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

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

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

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

Someone please help me out, a few of the inputs and their corresponding outputs don't make sense.

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

I too couldn't understand why case 4 was not 319 322

My Code
  • »
    »
    2 years ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    I think it's most probably wrong

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

    Yes, that test case is the problem. I think it should be 319 322 as well instead of 319 320