E. 日期输出

    Type: Default 1000ms 256MiB

日期输出

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

给定两个整数,表示一个日期的月和日。请按照"MM-DD"的格式输出日期,即如果月和日不到2位时,填补0使得满足2位。

输入格式

2个整数m,d(0 < m <= 12, 0 < d <= 31)。数据保证日期合法。

输出格式

按照题目要求输出日期

样例 #1

样例输入 #1

7 18

样例输出 #1

07-18

顺序结构小测(二)

Not Attended
Status
Done
Rule
IOI
Problem
5
Start at
2025-8-22 9:00
End at
2025-8-22 11:00
Duration
1.5 hour(s)
Host
Partic.
31