题解 |成绩的输入输出
出生日期输入输出
http://www.nowcoder.com/practice/4a4a9dd1edb6453ba4a0432319200743
#include <stdio.h>
int main()
{
int year, month, date;
scanf("%4d%2d%2d",&year,&month,&date);
printf("year=%4d\nmonth=%02d\ndate=%02d\n",year,month,date);
return 0;
}