#2327650

Solution for 0125: Day Count by peroon

Source Code Status Test Cases
    Policy: public     Reviewed: 1    
00.04 sec    8096 KB    19 lines     319 bytes    2017-05-20 05:57
# -*- coding: utf-8 -*-

import sys
import os
import math
from datetime import date

for s in sys.stdin:
    y1, m1, d1, y2, m2, d2 = map(int, s.split())

    if y1 == m1 == d1 == y2 == m2 == d2 == -1:
        break

    day1 = date(y1, m1, d1)
    day2 = date(y2, m2, d2)

    delta = day2 - day1
    print(delta.days)

Compile Error Logs:
You are not authorized to see the message.

Status
Judge: 1/1 Python3 CPU: 00.04 sec Memory: 8096 KB Length: 319 B 2017-05-20 05:57 2017-05-20 05:57
Results for testcases
Case # Verdict CPU Time Memory In Out Case Name
Case #1: : Accepted 00.04 sec 8096 KB
< prev | / | next >  
 
Judge Input #  ( | ) Judge Output #  ( | )


Comments
 
 Under Construction.
 
Categories
 
 
Free Tags