-->
当前位置:首页 > 题库 > 正文内容

编程题:What's the date tomorrow?

Luz2年前 (2022-12-12)题库1910
Enter today's date and output tomorrow's date.

### Input Specification:

Enter 3 integers separated by "-" to represent the year, month and day of today's date. Make sure that the date is correct. For example: 2009-5-12

### Output Specification:

Output 3 integers separated by "-", representing the year, month and day of tomorrow's date. For example: 2009-5-13

### Sample Input #1:
in
2009-5-12


### Sample Output #1:
out
2009-5-13

### Sample Input #2:
in
2009-5-31


### Sample Output #2:
out
2009-6-1

### Sample Input #3:
in
2009-12-31


### Sample Output #3:
out
2010-1-1












答案:若无答案欢迎评论

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。