### I_love_tigersugar's blog

By I_love_tigersugar, 5 years ago, ,

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:

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:

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

 » 5 years ago, # |   +74 Nice feature.
•  » » 5 years ago, # ^ |   0 More helper tools for you :)
•  » » » 5 years ago, # ^ |   0 a bout?
•  » » » » 5 years ago, # ^ |   +4 @contest1234, CodeforcesPolice can use this tool to more easily catch cheaters like mahdi123 majid1234 mjdl.2997 delairer alghoritm mamadak
•  » » » » » 5 years ago, # ^ |   -14 I have one user !!!!?? and I don't your another user in CF .......
•  » » » » » » 5 years ago, # ^ |   +8 I don't your another user in CF....
•  » » » » » » 5 years ago, # ^ |   0 Quite catchy handle for your "single" account on Codeforces.
 » 5 years ago, # |   +8 very nice feature:)
 » 5 years ago, # |   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.
 » 5 years ago, # |   -28 I think after this feature Codeforces will not lag less. (>15 min submissions testing). But of course, feature is nice.
 » 5 years ago, # |   +21 to detect cheaters :)
 » 5 years ago, # |   +11 I wanted to get link to such comparison. Could it be possible in the future to generate such links (instead of taking screenshots)?