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 listFeb 22, 2026 06:13olliecrowolliecrowScore: 7,862Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2026 06:277,80462,464,47922,074,00013,044,0002,334,720
2Feb 22, 2026 06:137,82460,444,02117,102,00018,108,0002,338,816
3Feb 22, 2026 06:107,82564,021,90322,133,00013,078,0002,285,568
4Feb 22, 2026 06:107,84558,223,04519,164,00016,138,0002,334,720
5Feb 22, 2026 06:277,86260,413,89421,227,00014,151,0002,285,568
6Feb 22, 2026 06:137,87958,727,53418,235,00017,222,0002,326,528
7Feb 22, 2026 06:277,89058,300,84321,302,00014,201,0002,330,624
8Feb 22, 2026 06:137,91458,254,72022,385,00013,227,0002,347,008
9Feb 22, 2026 06:108,27662,386,49030,197,0007,046,0002,285,568