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 03:42olliecrowolliecrowScore: 10,684Success
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 03:0910,58878,962,03236,496,00011,151,0002,285,568
2Feb 22, 2026 03:1910,59872,215,73731,457,00016,235,0002,285,568
3Feb 22, 2026 03:1910,63473,450,99133,896,00013,957,0002,396,160
4Feb 22, 2026 03:1910,63576,672,00036,891,00010,967,0002,285,568
5Feb 22, 2026 03:1910,63974,725,39732,916,00014,961,0002,281,472
6Feb 22, 2026 03:1910,63973,491,55933,913,00013,964,0002,281,472
7Feb 22, 2026 03:1910,64573,979,93739,918,0007,983,0002,285,568
8Feb 22, 2026 03:0910,68472,193,18535,058,00013,021,0002,285,568
9Feb 22, 2026 03:4210,68969,862,43630,064,00018,038,0002,285,568
10Feb 22, 2026 03:1910,69072,380,12437,082,00011,024,0002,281,472
11Feb 22, 2026 03:0910,69177,432,46829,067,00019,044,0002,269,184
12Feb 22, 2026 03:1910,74169,712,40934,238,00014,098,0002,281,472
13Feb 22, 2026 03:4210,74570,113,63129,212,00019,139,0002,285,568
14Feb 22, 2026 03:4210,76274,696,64128,250,00020,179,0002,273,280
15Feb 22, 2026 03:1911,02472,661,81835,435,00014,174,0002,285,568