if inputed credit's or score's format is illegal, don't set it rather than stop run

修改（临时） 如果用户输入的学分或成绩格式非法，就不设置它，而不是停止运行