2014 gcj qra problem a,b,d has been solved.