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 07:57Ilya AniskovetsIlya AniskovetsScore: 14,686Success
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 07:577,220105,502,83532,491,89502,260,992
2Oct 16, 2021 08:017,227103,383,09132,522,26602,277,376
3Oct 16, 2021 07:577,23894,310,05032,568,81402,273,280
4Oct 16, 2021 07:577,24296,181,45832,588,06302,273,280
5Oct 16, 2021 08:017,25789,810,27432,656,07702,269,184
6Oct 16, 2021 07:577,28484,927,29132,777,72402,269,184
7Oct 16, 2021 07:577,32186,932,36032,946,16802,273,280
8Oct 16, 2021 07:577,34098,942,70233,031,61302,281,472
9Oct 16, 2021 08:017,36396,431,48533,134,23002,273,280
10Oct 16, 2021 08:0114,530254,731,31031,183,00034,201,00029,593,600
11Oct 16, 2021 08:0114,560250,025,58032,761,00032,761,00029,761,536
12Oct 16, 2021 07:5714,602258,931,35031,828,00033,881,00029,700,096
13Oct 16, 2021 07:5714,625258,075,27232,385,00033,429,00029,536,256
14Oct 16, 2021 07:5714,630257,862,50130,012,00035,821,00029,630,464
15Oct 16, 2021 07:5714,636257,040,34130,474,00035,389,00029,724,672
16Oct 16, 2021 08:0114,651251,389,68230,505,00035,426,00029,630,464
17Oct 16, 2021 08:0114,662251,431,52531,958,00034,020,00029,495,296
18Oct 16, 2021 08:0114,664250,572,48532,486,00033,502,00029,552,640
19Oct 16, 2021 07:5714,686252,860,01729,692,00036,397,00029,536,256
20Oct 16, 2021 07:5714,686254,314,77731,041,00035,046,00029,548,544
21Oct 16, 2021 07:5714,692264,729,73835,336,00030,777,00029,614,080
22Oct 16, 2021 07:5714,699256,562,29129,618,00036,528,00029,556,736
23Oct 16, 2021 08:0114,720255,524,19736,026,00030,215,00029,564,928
24Oct 16, 2021 07:5714,720255,527,00432,610,00033,629,00029,659,136
25Oct 16, 2021 07:5714,725255,895,06834,761,00031,502,00029,503,488
26Oct 16, 2021 07:5714,743253,133,77930,621,00035,724,00029,560,832
27Oct 16, 2021 08:0114,746250,301,02229,386,00036,969,00029,548,544
28Oct 16, 2021 07:5714,752250,254,61434,299,00032,086,00029,630,464
29Oct 16, 2021 08:0114,753251,531,25433,739,00032,650,00029,548,544
30Oct 16, 2021 08:0114,792255,332,06530,798,00035,765,00029,728,768
31Oct 16, 2021 07:5714,836255,808,88431,030,00035,731,00029,630,464
32Oct 16, 2021 07:5714,849255,250,97834,524,00032,297,00029,630,464
33Oct 16, 2021 07:5714,924257,040,36730,070,00037,087,00029,532,160
34Oct 16, 2021 07:5714,957256,829,29835,364,00031,942,00029,634,560
35Oct 16, 2021 07:5715,039261,423,01936,807,00030,870,00029,634,560
36Oct 16, 2021 07:5715,537261,728,61836,677,00033,239,00029,519,872