游客 Signup | Login
中文 | En

2939 - 【设计型】第12章:结构体和共同体 第几天

通过次数

0

提交次数

0

Time Limit : 1 秒 Memory Limit : 128 MB

   定义一个结构体变量(包括年、月、日)。编写一个函数days,计算该日期在本年中是第几天(注意闰年问题)。由主函数将年月日传递给days函数,计算之后,将结果传回到主函数输出。

Input

     输入年月日,格式为xxx xx xx

Output

先开始提示用户输入日期;然后输出第几天。

Examples

Input Format

2013 01 02

Output Format

请输入日期
日期2013/1/2是2013年的第2天