Блог пользователя Swistakk

Автор Swistakk, 10 лет назад, По-английски

Hi.

As we all know, when hacking, plain black code on a white background written in faint font is shown to us. It is a pain in the insert here your favourite part of body to read such codes, I think that supposed difficulty in hacking shouldn't be telling "1" apart from "l" or coping with tediously looking code. In my opinion syntax should be highlited appropriately and hacking window should be much larger. I think this would be very noticeable for all users of Codeforces and will make hacking much more fun and less repulsive. Do you agree with me in this matter?

  • Проголосовать: нравится
  • +259
  • Проголосовать: не нравится

»
10 лет назад, # |
  Проголосовать: нравится +128 Проголосовать: не нравится

Whore adds tags anyway? XD

»
10 лет назад, # |
Rev. 2   Проголосовать: нравится +25 Проголосовать: не нравится

Usually while writing with Perl neither Codeforces nor Notepad++ can "deobfuscate" code and highlight it correct (e.g. 10915426).

»
10 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I completely agree and have mentioned this before. I really like hacking and this makes it very difficult.

»
10 лет назад, # |
  Проголосовать: нравится -26 Проголосовать: не нравится

Thanks for the info

»
10 лет назад, # |
Rev. 4   Проголосовать: нравится +12 Проголосовать: не нравится

Bredor where is your flashlight?

»
10 лет назад, # |
  Проголосовать: нравится +50 Проголосовать: не нравится

I have another question: why can't we hack without an outdated buggy piece of crapware called Adobe Flash Grenade Player?

  • »
    »
    10 лет назад, # ^ |
      Проголосовать: нравится +4 Проголосовать: не нравится

    What else do you suggest to prevent participants from copy pasting the code and testing it locally before daring to hack? :p

    • »
      »
      »
      10 лет назад, # ^ |
        Проголосовать: нравится +2 Проголосовать: не нравится

      Although, using image is an option, they are too much "convenient". There are lots of image-to-text software out there. And in this case where image is so "clear", it is even possible to write your own program.

      • »
        »
        »
        »
        10 лет назад, # ^ |
          Проголосовать: нравится +3 Проголосовать: не нравится

        Do you think it will make any difference for people that really want to cheat in this way? I would say that current version is even easier, you always have the same color of letters on same color of background. Of course there are possibilities for writing some OCR of codes, but I don't consider such cheating as a big problem, whole nononsite competitive programming relies on faith in people being fair.

        • »
          »
          »
          »
          »
          10 лет назад, # ^ |
            Проголосовать: нравится +8 Проголосовать: не нравится

          Yes, it won't make any difference for people who REALLY want to cheat. But, on the other hand, there are people that may want to cheat when it does not require much effort. Doing couple of screenshots, cropping them, joining the resulting code parts requires much more effort than just saving the image and testing the resulting code. Also, it is not only the effort needed that matters. The former requires more time too.

          People that cheat just for fun, or people that cheat because if they do successful hack they will be in smth like top-100 and ~400-500 otherwise may be affected by the pressure and only cheat when it is, as I said before, "convenient" :P

      • »
        »
        »
        »
        10 лет назад, # ^ |
        Rev. 2   Проголосовать: нравится +11 Проголосовать: не нравится

        I don't see the difference between image and flash. What if I take screenshot as input to my OCR software?

        • »
          »
          »
          »
          »
          10 лет назад, # ^ |
            Проголосовать: нравится 0 Проголосовать: не нравится

          Doing couple of screenshots, cropping them, joining the resulting code parts requires much more effort than just saving the image and testing the resulting code.

          Especially when you have to do it ~20 times.

          • »
            »
            »
            »
            »
            »
            10 лет назад, # ^ |
            Rev. 4   Проголосовать: нравится 0 Проголосовать: не нравится

            Uhm, it's not that hard actually.

            On Mac, I have Cmd + Shift + 4 to take screenshot of specific part of screen (controllable with mouse). On Window there's also a tool installed by default that does the same thing (I forgot the name).

            After taking screenshot of first part of code, I just scroll down and take screenshot again. Since they're saved with creation time, it's already in correct order.

            On my computer, the screenshot is automatically saved into a specific folder. So after having all screenshots, I just run a script that merge the codes & do stress test & print the wrong test case & delete the images which are no longer necessary, which takes 1 more click.

            With everything setup, it takes probably less than 30 secs for 1 hack.