题解 | #出生日期输入输出#
出生日期输入输出
http://www.nowcoder.com/practice/4a4a9dd1edb6453ba4a0432319200743
using System;
class Program{
static void Main(){
string s=Console.ReadLine();
Console.WriteLine("year={0}\nmonth={1}\ndate={2}",
s.Substring(0,4),
s.Substring(4,2),
s.Substring(6,2));
}
}

