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

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

Hello Codeforces community!

Today, I found a new function on Codeforces, it looks like the file comparing. As you can see, when you are viewing a submission details, a new button "Compare" appears:

Image Hosted At MyspaceGens If you click the button, you can choose another submission, and Codeforces will show you the difference between the current submissions and the one you chose:

Image Hosted At MyspaceGens

I think this function is useful. For example, you solved a problem long time ago, and now you forgot the solution! You look at your accepted code to see how to solve it. You have made two submissions, one correct, one incorrect. With "Compare" funcion, you can easily find the mistakes in your incorrect submission. Therefore, you can determine the reason of your mistakes (a small bug in coding, or a tricky test case).

I hope my discovery will have you a lot! Thank you for reading it.

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

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

Nice feature.

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

very nice feature:)

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

Heh, I was going to make this feature too as a plugin (addon). And I think this "diff" button is more appropriate in the list of submissions just like wikipedia.

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

I think after this feature Codeforces will not lag less. (>15 min submissions testing). But of course, feature is nice.

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

to detect cheaters :)

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

I wanted to get link to such comparison. Could it be possible in the future to generate such links (instead of taking screenshots)?