modify 1251_iii.cpp