I thought of this long ago but was too lazy to write it. I will try to keep the idea brief.Lets ask some series of questions.
Why do people are cheating in CP?
Major Reason
Now we have some idea why people may cheat.
What Codeforces can do?
We will use Fear, Shame and simple Probabilty