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 listJun 14, 2024 20:53джулисджулисScore: 111,592Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 14, 2024 20:53104,299522,037,462469,346,45902,260,992
2Jun 14, 2024 20:53104,357532,470,356469,606,97902,260,992
3Jun 14, 2024 20:53105,317662,581,896473,925,60502,256,896
4Jun 14, 2024 20:53111,389685,999,360444,314,00056,937,00029,556,736
5Jun 14, 2024 20:53111,467689,809,884450,130,00051,472,00029,556,736
6Jun 14, 2024 20:53111,508683,081,254447,012,00054,776,00029,597,696
7Jun 14, 2024 20:53111,592688,383,417453,438,00048,724,00029,659,136
8Jun 14, 2024 20:53111,610692,395,713463,843,00038,400,00029,724,672
9Jun 14, 2024 20:53111,616682,824,912452,353,00049,921,00029,552,640
10Jun 14, 2024 20:53111,679688,196,140452,607,00049,949,00029,691,904
11Jun 14, 2024 20:53111,751694,789,527453,099,00049,779,00029,556,736
12Jun 14, 2024 20:53112,813690,746,061450,357,00057,300,00029,724,672