结构体之时间设计
Submit solution
Points:
10
Time limit:
1.0s
Memory limit:
2M
Author:
Problem type
Allowed languages
C, C++
结构体之时间设计
定义一个结构体变量(包括年、月、日)。计算该日在本年中是第几天,注意闰年问题。
输入格式
年 月 日
输出格式
当年第几天
样例
输入
2000 12 31
输出
366
Comments