I_love_tigersugar's blog

By I_love_tigersugar, 10 years ago, In English

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.

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

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

Nice feature.

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

very nice feature:)

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

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 years ago, # |
  Vote: I like it -28 Vote: I do not like it

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

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

to detect cheaters :)

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

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