Codeforces is a website (http://codeforces.ru) dedicated to competitive programming. Here I will post a my solution of the events.