No one should share his/her Accepted solution during a live contest.
However, suppose someone shares an accepted solution during the live contest to his friends or public telegram channels. In that case, good people should feed the code to a plagiarism checker[currently we don't have such functionality on codeforces MikeMirzayanov ].
The plagiarism checker will easily find the original author and others who copied the code. It is similar to hacking post-contest, but we submit plags during a live contest here. There should be a reward for the first plag finder.
This will surely discourage solution-sharing during live contests.
This is actually a very good idea
this is a good idea but i don't think the author of the accepted solution shares his orignal code, he must be changing it in some manner which keeps his account clean and keeps away from plag!
Now imagine that someone solves a problem during a div2, then they shares the code of someone else from their room. In that case your system will punish an absolutely innocent participant.
How will they get the code of someone unless someone has shared it themselves, which is the very thing we want to curb?
During a div.2 or div.1 contest, all contestants are divided into rooms, and once you solved a problem you're allowed to see and hack others' submissions on that problem DURING contest
sorry, didn't know it was possible to see others' solutions during a live contest. thanks.
Will it be a disadvantage, if you can only see other solutions post-contest?
No, it wouldn't. This suggestion would perfectly work on educational rounds, div3s and div4s.
*Punish