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
Date AuthorLanguageStatus Score
Mar 20, 2026 09:32Dominique GarmierDominique GarmierCPPg++13.3.0Success10,715
Mar 20, 2026 08:43Dominique GarmierDominique GarmierCPPclang++18.1.3Success6,681+26.63 RP
Mar 20, 2026 03:07Dominique GarmierDominique GarmierCPPg++13.3.0Success18,459
Mar 19, 2026 17:02Dominique GarmierDominique GarmierCPPclang++18.1.3Success12,531
Mar 19, 2026 14:18Dominique GarmierDominique GarmierCPPg++13.3.0Success12,483
Mar 19, 2026 05:02Dominique GarmierDominique GarmierCPPg++13.3.0Success19,888
Mar 19, 2026 05:01Dominique GarmierDominique GarmierCPPclang++18.1.3Success8,470
Mar 19, 2026 00:57Dominique GarmierDominique GarmierCPPclang++18.1.3Success6,802
Mar 18, 2026 23:58Dominique GarmierDominique GarmierCPPclang++18.1.3Success6,802
Mar 18, 2026 23:34Dominique GarmierDominique GarmierCPPclang++18.1.3Success6,808
Mar 18, 2026 21:55Dominique GarmierDominique GarmierCPPclang++18.1.3Success7,582
Mar 18, 2026 21:52Dominique GarmierDominique GarmierCPPclang++18.1.3Success8,512
Mar 18, 2026 21:52Dominique GarmierDominique GarmierCPPclang++18.1.3Success6,986
Mar 18, 2026 21:51Dominique GarmierDominique GarmierCPPg++13.3.0Success10,200
Mar 18, 2026 21:50Dominique GarmierDominique GarmierCPPclang++18.1.3Success6,802+468.75 RP
Mar 18, 2026 21:48Dominique GarmierDominique GarmierCPPclang++18.1.3Success10,473
Mar 18, 2026 21:45Dominique GarmierDominique GarmierCPPg++13.3.0Success19,842
Mar 17, 2026 14:50Dominique GarmierDominique GarmierCPPg++13.3.0Success16,415
Mar 15, 2026 22:24Dominique GarmierDominique GarmierCPPclang++18.1.3Success10,704
Mar 15, 2026 22:17Dominique GarmierDominique GarmierCPPclang++18.1.3Success12,366
Mar 15, 2026 22:15Dominique GarmierDominique GarmierCPPclang++18.1.3Error
Mar 15, 2026 21:39Dominique GarmierDominique GarmierCPPclang++18.1.3Success10,297
Mar 15, 2026 13:20KeefeKeefeCPPg++13.3.0Success6,088
Mar 15, 2026 12:35KeefeKeefeCPPg++13.3.0Success5,832
Mar 15, 2026 11:49KeefeKeefeCPPg++13.3.0Success5,780+345.64 RP
Mar 15, 2026 11:17Dominique GarmierDominique GarmierCPPg++13.3.0Error
Mar 15, 2026 11:09KeefeKeefeCPPclang++18.1.3Success8,590
Mar 15, 2026 11:06KeefeKeefeCPPg++13.3.0Success7,223+555.83 RP
Mar 13, 2026 15:50Dominique GarmierDominique GarmierCPPclang++18.1.3Success10,307
Mar 13, 2026 15:47Dominique GarmierDominique GarmierCPPclang++18.1.3Success9,986+188.13 RP
Mar 13, 2026 15:42Dominique GarmierDominique GarmierCPPclang++18.1.3Success12,296+35.85 RP
Mar 13, 2026 15:41Dominique GarmierDominique GarmierCPPclang++18.1.3Success15,862
Mar 13, 2026 12:36Dominique GarmierDominique GarmierCPPg++13.3.0Error
Mar 13, 2026 11:23Dominique GarmierDominique GarmierCPPg++13.3.0Success12,863+777.42 RP
Mar 13, 2026 11:21Dominique GarmierDominique GarmierCPPg++13.3.0Error
Mar 6, 2026 01:39Sergey SerebryakovSergey SerebryakovCPPg++13.3.0Error
Mar 6, 2026 01:36Sergey SerebryakovSergey SerebryakovCPPg++13.3.0Error
Mar 6, 2026 01:35Sergey SerebryakovSergey SerebryakovCPPg++13.3.0Error
Mar 4, 2026 04:25Josu San MartinJosu San MartinCPPg++13.3.0Success5,706+78.62 RP
Mar 4, 2026 04:25Josu San MartinJosu San MartinRUSTrust-1.92.0Error
Mar 4, 2026 04:02Josu San MartinJosu San MartinRUSTrust-1.92.0Success6,639+0.91 RP
Mar 4, 2026 03:55Josu San MartinJosu San MartinCPPg++13.3.0Success8,240
Mar 4, 2026 03:38Josu San MartinJosu San MartinCPPclang++18.1.3Success5,974+168.58 RP
Mar 4, 2026 03:34Josu San MartinJosu San MartinRUSTrust-1.92.0Success6,643+19.82 RP
Mar 4, 2026 03:24Josu San MartinJosu San MartinCPPclang++18.1.3Success7,227
Mar 4, 2026 03:19Josu San MartinJosu San MartinCPPclang++18.1.3Error
Mar 4, 2026 03:02Josu San MartinJosu San MartinCPPclang++18.1.3Error
Mar 4, 2026 03:02Josu San MartinJosu San MartinCPPg++13.3.0Error
Mar 4, 2026 02:59Josu San MartinJosu San MartinCSHARP9.0.13Success11,077+407.82 RP
Mar 3, 2026 22:11olliecrowolliecrowCPPclang++18.1.3Success4,852
Feb 22, 2026 10:16olliecrowolliecrowCPPclang++18.1.3Success4,714+0.45 RP
Feb 22, 2026 10:10olliecrowolliecrowCPPclang++18.1.3Success4,715
Feb 22, 2026 10:04olliecrowolliecrowCPPclang++18.1.3Success4,737
Feb 22, 2026 09:58olliecrowolliecrowCPPclang++18.1.3Success4,736
Feb 22, 2026 09:51olliecrowolliecrowCPPclang++18.1.3Success4,715+1.80 RP
Feb 22, 2026 09:38olliecrowolliecrowCPPclang++18.1.3Success5,184
Feb 22, 2026 09:34olliecrowolliecrowCPPclang++18.1.3Success4,906
Feb 22, 2026 09:28olliecrowolliecrowCPPclang++18.1.3Success4,722
Feb 22, 2026 09:22olliecrowolliecrowCPPclang++18.1.3Success4,746
Feb 22, 2026 09:18olliecrowolliecrowCPPclang++18.1.3Success4,724
Feb 22, 2026 09:08olliecrowolliecrowCPPclang++18.1.3Success4,719+46.98 RP
Feb 22, 2026 09:03olliecrowolliecrowCPPclang++18.1.3Error
Feb 22, 2026 08:59olliecrowolliecrowCPPclang++18.1.3Success6,641
Feb 22, 2026 08:55olliecrowolliecrowCPPclang++18.1.3Success4,906
Feb 22, 2026 08:51olliecrowolliecrowCPPclang++18.1.3Success4,826+1.29 RP
Feb 22, 2026 08:47olliecrowolliecrowCPPclang++18.1.3Error
Feb 22, 2026 08:42olliecrowolliecrowCPPclang++18.1.3Success5,252
Feb 22, 2026 08:37olliecrowolliecrowCPPclang++18.1.3Success5,168
Feb 22, 2026 08:32olliecrowolliecrowCPPclang++18.1.3Success4,829+149.96 RP
Feb 22, 2026 08:28olliecrowolliecrowCPPclang++18.1.3Error
Feb 22, 2026 08:23olliecrowolliecrowCPPclang++18.1.3Success5,206+635.51 RP
Feb 22, 2026 08:17olliecrowolliecrowCPPclang++18.1.3Error
Feb 22, 2026 08:00olliecrowolliecrowCPPclang++18.1.3Error
Feb 22, 2026 07:55olliecrowolliecrowCPPclang++18.1.3Error
Feb 22, 2026 07:49olliecrowolliecrowCPPclang++18.1.3Error
Feb 22, 2026 07:43olliecrowolliecrowCPPclang++18.1.3Error
Feb 22, 2026 07:38olliecrowolliecrowCPPclang++18.1.3Success8,386
Feb 22, 2026 07:33olliecrowolliecrowCPPclang++18.1.3Success7,919
Feb 22, 2026 07:23olliecrowolliecrowCPPclang++18.1.3Success7,780+4.45 RP
Feb 22, 2026 07:16olliecrowolliecrowCPPclang++18.1.3Success7,907
Feb 22, 2026 07:11olliecrowolliecrowCPPclang++18.1.3Success7,807+6.37 RP
Feb 22, 2026 06:58olliecrowolliecrowCPPg++13.3.0Success8,516
Feb 22, 2026 06:50olliecrowolliecrowCPPclang++18.1.3Error
Feb 22, 2026 06:42olliecrowolliecrowCPPclang++18.1.3Success7,846+2.59 RP
Feb 22, 2026 06:38olliecrowolliecrowCPPclang++18.1.3Success7,974
Feb 22, 2026 06:33olliecrowolliecrowCPPclang++18.1.3Success8,249
Feb 22, 2026 06:23olliecrowolliecrowCPPclang++18.1.3Success8,277
Feb 22, 2026 06:18olliecrowolliecrowCPPclang++18.1.3Success7,974
Feb 22, 2026 06:13olliecrowolliecrowCPPclang++18.1.3Success7,862+17.08 RP
Feb 22, 2026 06:06olliecrowolliecrowCPPclang++18.1.3Success7,969+2.98 RP
Feb 22, 2026 05:59olliecrowolliecrowCPPclang++18.1.3Success8,418
Feb 22, 2026 05:52olliecrowolliecrowCPPclang++18.1.3Success7,988+0.63 RP
Feb 22, 2026 05:47olliecrowolliecrowCPPclang++18.1.3Success8,078
Feb 22, 2026 05:39olliecrowolliecrowCPPclang++18.1.3Success8,155
Feb 22, 2026 05:36olliecrowolliecrowCPPclang++18.1.3Success7,992+38.84 RP
Feb 22, 2026 05:32olliecrowolliecrowCPPclang++18.1.3Success8,713
Feb 22, 2026 05:26olliecrowolliecrowCPPclang++18.1.3Error
Feb 22, 2026 05:17olliecrowolliecrowCPPclang++18.1.3Success8,423
Feb 22, 2026 05:13olliecrowolliecrowCPPclang++18.1.3Success8,711
Feb 22, 2026 05:09olliecrowolliecrowCPPclang++18.1.3Success8,276