Hollow Knight: Silksong
题号:NC295133
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld

题目描述

Colin is a big fan of Hollow Knight. The grand world view of Hollownest and the distinctive bosses deeply attracted him, and fortunately, the second generation, Hollow Knight: Silksong, will be released very soon! Silksong follows Hornet, the former princess of Hollow Knight's fallen kingdom of Hallownest and a supporting character of that game, as she is forced to explore a totally new land.

So many people are excited to play Silksong! There’s even a comment in 2020 on bilibili that has become famous: “Actually, I’m pretty lucky. I just got into Hollow Knight 1, and Hollow Knight 2 is about to come out.” It has received over 28,000 likes now.

Anyway, the most recent news is that Silksong will be released this year! The most exciting news is that people will have the chance to play the demo in Australia on September 18, 2025.

It cannot be luckier for those who haven't played Hollow Knight ever! So Colin strongly suggested that Eva play Hollow Knight before the second generation was released. To value how lucky Eva is, Colin defines the luckiness to be the number of dates between the first day Eva starts to play and the day of demo-play.

Given the date Eva starts to play Hollow Knight, can you help Colin calculate how lucky Eva is?

输入描述:

A single line with three integers separated by spaces y,m,d ~ (2017\le y\le 2025,1\le m\le 12, 1\le d\le 31), representing Eva starts to play the Hollow Knight on the year y, month m, and day d. It's guaranteed that the input date is valid, and it's earlier than the day of demo-play of Silksong (September 18, 2025) and later than the day Hollow Knight was released (February 24, 2017).

输出描述:

A single integer, representing the luckiness of Eva.
示例1

输入

复制
2025 5 25

输出

复制
116