Add new code of Offline Coding Expert Problem #4 in 2014