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 listMar 20, 2026 03:07Dominique GarmierDominique GarmierScore: 18,459Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2026 21:3818,328104,665,63882,476,00002,506,752
2Mar 19, 2026 02:0818,373110,166,95381,671,0001,008,0002,256,896
3Mar 15, 2026 21:3818,380109,580,69581,704,0001,008,0002,514,944
4Mar 20, 2026 03:0718,412113,708,18781,856,000998,0002,273,280
5Mar 15, 2026 11:1218,416110,790,14782,871,00002,514,944
6Mar 19, 2026 02:0818,418107,951,25182,880,00002,273,280
7Mar 15, 2026 11:1218,459109,432,48682,067,0001,000,0002,514,944
8Mar 20, 2026 03:0718,497105,573,46781,230,0002,005,0002,273,280
9Mar 19, 2026 02:0818,505106,309,94983,271,00002,256,896
10Mar 15, 2026 11:1218,516104,520,13882,321,0001,003,0002,506,752
11Mar 15, 2026 21:3818,538108,010,39683,421,00002,273,280
12Mar 20, 2026 03:0718,564106,327,94483,537,00002,273,280