You are viewing a single comment's thread. Return to all comments →
My solution:
from datetime import datetime for _ in range(int(input())): t1=datetime.strptime(input(),'%a %d %b %Y %H:%M:%S %z') t2=datetime.strptime(input(),'%a %d %b %Y %H:%M:%S %z') print (int(abs((t1-t2).total_seconds())))
At the beginning, I didn't notice the word 'absolute'. After I check my resluts with desired results, I found the difference.
Seems like cookies are disabled on this browser, please enable them to open this website
Time Delta
You are viewing a single comment's thread. Return to all comments →
My solution:
At the beginning, I didn't notice the word 'absolute'. After I check my resluts with desired results, I found the difference.