-->
当前位置:首页 > 题库

PROGRAMMING:What was the day before yesterday

Luz5年前 (2021-05-10)题库393
This topic requires to read in the year, month, day, and then judge the day before yesterday.
###Input format:
Enter the year, month, and day on one line( Date is valid)
###Output format:
Output the date of the day before yesterday in the format of 2020-10-16
###Input example:
```in
2020 10 16
```
###Output example:
```out
2020-10-14
```
###Input example:
```in
2020 1 2
```
###Output example:
```out
2019-12-31
```
###Input example:
```in
2020 3 2
```
###Output example:
```out
2020-2-29
```
###Input example:
```in
2019 3 2
```
###Output example:
```out
2019-2-28
```







answer:If there is no answer, please comment