I_love_Varechka's blog

By I_love_Varechka, 9 years ago, translation, In English

Good day to everybody!

Today at 19:00 MSK will be held October Cook-Off 2015!

Let's discuss here problems after the contest.

UPD The contest is completed!

  • Vote: I like it
  • +19
  • Vote: I do not like it

»
9 years ago, # |
  Vote: I like it +17 Vote: I do not like it

Almost same as the third question!!! Here it is.

»
9 years ago, # |
  Vote: I like it +5 Vote: I do not like it

Nice problemset. But 2 problems are very easy and 3 are very hard!
If there were level by level problems, It would be very interesting :)

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

How to solve Palindrome Pairs?

»
9 years ago, # |
  Vote: I like it +10 Vote: I do not like it

Are there some blank lines in tests for problem "Palindrome Pairs"? Or I simply managed to produce some strange bug?..

Two solutions: first gives RE, while second gets AC. The only idea which comes into my mind right now is — there are some blank lines which should be ignored.

  • »
    »
    9 years ago, # ^ |
      Vote: I like it +4 Vote: I do not like it

    It looks like strings separated generally with not single \n-s. Maybe the problem lies in line endings.

    You could ask the organisers for test data.

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

    Space separated strings in one line as opposed to each string in a new line.