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 15, 2021 06:49Ilya AniskovetsIlya AniskovetsScore: 18,145Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2021 06:4910,852115,327,92148,832,08902,265,088
2Oct 15, 2021 06:4910,901119,297,08449,052,56402,260,992
3Oct 15, 2021 06:4911,014120,088,21149,561,96202,265,088
4Oct 15, 2021 06:4917,992265,358,02149,006,00031,960,00029,630,464
5Oct 15, 2021 06:4918,026265,277,33348,258,00032,857,00029,544,448
6Oct 15, 2021 06:4918,060271,540,76350,259,00031,011,00029,495,296
7Oct 15, 2021 06:4918,145269,321,65644,110,00037,541,00029,663,232
8Oct 15, 2021 06:4918,174277,995,66750,162,00031,623,00029,544,448
9Oct 15, 2021 06:4918,188275,565,33049,728,00032,116,00029,499,392
10Oct 15, 2021 06:4918,188268,254,33049,958,00031,888,00029,630,464
11Oct 15, 2021 06:4918,262266,147,49149,933,00032,248,00029,544,448
12Oct 15, 2021 06:4918,451276,128,88750,031,00032,999,00029,495,296