current position:Home>Please do me a favor and solve it

Please do me a favor and solve it

2022-02-03 01:15:03 CSDN Q & A

Two dimensional array realizes the conversion of date format , take “yyyy/mm/dd” Convert date format to “mm/dd/yyyy” Format and output .

Input

The first action is a transformation t(t<10), Represents the number of dates to be converted ; Next
One time total t That's ok , The date that each line needs to be converted .

Output

Output the result after conversion in the branch .

Sample input

2
2009/11/07
1970/01/01
Sample output

11/07/2009
01/01/1970




Refer to the answer 1:



Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202030115016753.html

Random recommended