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 listMay 10, 2023 03:08Yuriy LyfenkoYuriy LyfenkoScore: 19,348Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 10, 2023 03:0812,050131,270,29954,226,78802,236,416
2May 10, 2023 03:0812,062116,296,28454,279,20802,236,416
3May 10, 2023 03:0812,076110,805,71854,344,07602,244,608
4May 10, 2023 03:0819,246277,344,65054,380,00032,225,00029,655,040
5May 10, 2023 03:0819,254274,135,87057,761,00028,880,00029,503,488
6May 10, 2023 03:0819,286276,186,76452,271,00034,518,00029,765,632
7May 10, 2023 03:0819,348276,724,58654,934,00032,131,00029,646,848
8May 10, 2023 03:0819,365278,945,37250,349,00036,793,00029,573,120
9May 10, 2023 03:0819,463276,124,51856,930,00030,655,00029,605,888
10May 10, 2023 03:0819,517278,951,17157,466,00030,359,00029,577,216
11May 10, 2023 03:0819,565283,878,32553,025,00035,016,00029,503,488
12May 10, 2023 03:0819,615280,820,50055,037,00033,230,00029,700,096