Add Codeforces 479B
Add my solution of Codeforces 479B.