Parse dateTime Andrey Tsvetkov

Compute the sum of 5,000,000 UTC Unix timestamps as fast as possible.

Input

One RFC 3339 datetime per line on STDIN:

2017-05-04T14:31:30-03:00
2046-06-23T11:51:56-06:00
2031-08-14T13:18:38+06:00
2048-04-14T05:55:06-09:00
1980-08-28T00:43:03+02:00

Output

Print the sum of all UTC Unix timestamps (int64) to STDOUT.

Constraints

  • Datetimes are in the range 1950-01-01T00:00:00 to 2050-12-31T23:59:59
Back to listDec 6, 2024 15:26E SequeiraE SequeiraScore: 54,429Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2024 15:2654,068432,332,098210,866,00032,440,00029,757,440
2Dec 6, 2024 15:2654,171437,500,790215,880,00027,888,00029,630,464
3Dec 6, 2024 15:2654,216435,858,698208,978,00034,996,00029,630,464
4Dec 6, 2024 15:2654,349440,958,976206,111,00038,460,00029,757,440
5Dec 6, 2024 15:2654,429430,761,807207,943,00036,989,00029,659,136
6Dec 6, 2024 15:2654,494440,447,046215,343,00029,880,00029,659,136
7Dec 6, 2024 15:2654,509436,042,871205,728,00039,563,00029,634,560
8Dec 6, 2024 15:2654,528434,799,785210,177,00035,197,00029,761,536
9Dec 6, 2024 15:2654,552442,855,226210,125,00035,357,00029,560,832