Description: Problem Description Gardon of the 18th birthday is coming, and he of course very happy, but he suddenly thought of a question, is not every individual from birth to reach the 18th birthday when the number of days after all the same? Does not seem to have all of this, so he would like you to help calculate what he and several of his friends from birth through to reach 18th birthday by the total number of days, let him look good to compare. Input a number T, T-line behind each line has a date format is YYYY-MM-DD. If my birthday is 1988-03-07. Output T Bank, one per line, indicating that the person from birth to 18 years the number of days elapsed birthday. If this person is not 18th birthday, the output of-1. Sample Input 1 1988-03-07 Sample Output 6574
To Search:
File list (Check if you may need any files):
hdoj-1002-18岁生日.rtf