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 listNov 14, 2025 13:16izotoffizotoffScore: 100,022Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 14, 2025 13:1699,976471,726,277448,893,000999,0002,326,528
2Nov 14, 2025 13:1699,980478,267,620448,911,000999,0002,392,064
3Nov 14, 2025 13:1699,997472,735,692447,987,0001,999,0002,322,432
4Nov 14, 2025 13:1699,999470,847,171447,997,0001,999,0002,322,432
5Nov 14, 2025 13:16100,022469,477,443449,097,0001,000,0002,392,064
6Nov 14, 2025 13:16100,032472,796,182449,142,0001,000,0002,383,872
7Nov 14, 2025 13:16100,032478,943,773449,144,0001,000,0002,318,336
8Nov 14, 2025 13:16100,041470,375,959448,185,0002,000,0002,322,432
9Nov 14, 2025 13:16100,054472,807,491450,243,00002,392,064