这题怎么写求分析!
Description
有一些日期,日期格式为“MM/DD/YYYY”。编程将其按日期大小排列。
Input
Output
Sample Input
15/12/1999
10/21/2003
10/22/2003
02/12/2004
11/30/2005
12/31/2005
Sample Output
15/12/1999
10/21/2003
10/22/2003
02/12/2004
11/30/2005
12/31/2005
楼主给分哟,,,
[解决办法]
先将字符串解析出来。。再排序。。再按格式输出。。