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 listOct 16, 2021 10:47Ilya AniskovetsIlya AniskovetsScore: 14,901Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 16, 2021 10:477,55497,831,17833,992,09402,273,280
2Oct 16, 2021 10:477,583101,779,91934,121,53402,277,376
3Oct 16, 2021 10:477,686105,232,81634,588,31502,265,088
4Oct 16, 2021 10:4714,818249,716,31834,929,00031,753,00029,630,464
5Oct 16, 2021 10:4714,874251,837,03432,951,00033,981,00029,585,408
6Oct 16, 2021 10:4714,885251,563,87731,065,00035,919,00029,548,544
7Oct 16, 2021 10:4714,901260,474,56034,060,00032,995,00029,507,584
8Oct 16, 2021 10:4714,962250,482,30334,751,00032,579,00029,663,232
9Oct 16, 2021 10:4714,967259,081,52634,179,00033,174,00029,761,536
10Oct 16, 2021 10:4714,995258,739,04432,716,00034,761,00029,499,392
11Oct 16, 2021 10:4715,021252,143,20533,798,00033,798,00029,663,232
12Oct 16, 2021 10:4715,122256,480,24632,080,00035,968,00029,646,848