Responsive image

问题 2131 --Date and time format

2131: Date and time format

时间限制: 1 Sec  内存限制: 128 MB
提交: 8  解决: 2
[提交][状态][讨论版][命题人:]

题目描述


输入描述

输出描述

样例输入

2
2019/12/07-13:12:12
1980/01/01-00:01:01

样例输出

12/07/2019-12:12:12am
12/31/1979-11:01:01am

提示

Hint:

Note that 12:00:00pm means 12 noon(12:00:00 for 24-hour clock), and 12:00:00am means 12 before dawn(00:00:00 for 24-hour clock).

来源

[提交][状态]
ACM算法攻关部