Welcome   HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online
Home
FAQs
Problem Set
Practices
Online Contests
Major Exercises
OI Special
Judgement
Submit
Online Status
User Ranklist
Users
Register new
Login
Web Links
Hunan Normal University
College of Information Science and Engineering
计算某日在本年中是第几天
Time Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:32768KB
Total submit users: 217, Accepted users: 211
Problem 10488 : No special judgement
Problem description
  定义一个结构体变量(包括年、月、日)。计算该日在本年中是第几天?注意闰年问题。

Input
  输入数据有若干行。每行上有三个正整数,分别代表年、月、日。

Output
  对于每一组数据,输出该日在本年中是多少天。

Sample Input
2009 2 20
2009 3 12
Sample Output
51
71
Submit   Clarifications   Judge Status  Problems  Ranklist 

HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online, Version 2010.5.5.final.
Web visits:2055 today,16258782 total, since 2010-05-07