#C. 考级202006-3:日期输出

    Type: Default 1000ms 128MiB

考级202006-3:日期输出

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

7 18

输出数据 1

07-18

数据范围与提示

一级第6轮

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
5
Start at
2023-7-28 9:30
End at
2023-8-19 1:30
Duration
520 hour(s)
Host
Partic.
16