Add Codeforces 478A, B, C, D

Add my solution of Codeforces 478A, B, C, D