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 29, 2023 01:56Victor MuñozVictor MuñozScore: 188,008Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2023 01:56185,8851,019,624,983575,395,000261,087,00029,798,400
2May 29, 2023 01:56186,3161,042,390,256584,598,000253,825,00029,532,160
3May 29, 2023 01:56186,5771,022,173,470576,349,000263,246,00029,700,096
4May 29, 2023 01:56187,1331,032,150,530602,660,000239,440,00029,528,064
5May 29, 2023 01:56187,7541,025,027,431579,926,000264,966,00029,528,064
6May 29, 2023 01:56188,000897,511,428846,001,32102,199,552
7May 29, 2023 01:56188,008900,385,188846,038,00102,199,552
8May 29, 2023 01:56188,4611,027,334,401611,679,000236,397,00029,523,968
9May 29, 2023 01:56188,5201,033,090,171576,345,000271,994,00029,536,256
10May 29, 2023 01:56188,8141,035,011,265565,111,000284,552,00029,671,424
11May 29, 2023 01:56189,3631,039,264,539592,229,000259,906,00029,605,888
12May 29, 2023 01:56189,470909,747,697852,612,84302,191,360