TIR-OlympicOlimpik's blog

By TIR-OlympicOlimpik, 11 years ago, In English

Hello Codeforces People... IOI 2013 Contest has ended. I dont know solutions about Robots,Wombats and Game... Could you share solutions? Thanks...

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

Here in the end Robots and Game IOI2013, день 2

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

Day 1

Day 2

I'd also like to know another 100 Point approach for Artclass :)

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

    My friend had a ten-line 100p solution. I was stunned!

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

      How? Teach me master :D

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

        It goes something like this:

        Turn the image to grayscale, calculate the average of absolute differences of values for all adjacent pixel pairs. You can experiment with images given to find appropriate bounds of this value for each class. After you did that, you code them as four if-s. It turns out this works around 91% of the time, of course, scoring 100p. Amazingly simple.