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
Nov 4, 2026 16:50Aleksey ShvetsAleksey ShvetsRUSTrust-1.99.1Success13,774+359.87 RP
Nov 4, 2026 16:25Aleksey ShvetsAleksey ShvetsRUSTrust-1.95.0Success27,312+12.98 RP
Nov 4, 2026 16:17Aleksey ShvetsAleksey ShvetsRUSTrust-1.95.0Success28,316+74.19 RP
Nov 4, 2026 15:43Aleksey ShvetsAleksey ShvetsRUSTrust-1.95.0Success35,846+143.39 RP
Nov 4, 2026 14:14Aleksey ShvetsAleksey ShvetsRUSTrust-1.95.0Success73,758+1.16 RP
Nov 4, 2026 14:09Aleksey ShvetsAleksey ShvetsRUSTrust-1.95.0Success74,392+66.46 RP
Nov 1, 2026 23:45Aleksey ShvetsAleksey ShvetsRUSTrust-1.99.1Success147,148+67.96 RP
Oct 19, 2026 07:51highload-churnerhighload-churnerCPPclang++18.1.3Success1,643
Oct 19, 2026 07:41highload-churnerhighload-churnerCPPg++14.2.0Success1,576
Oct 19, 2026 07:37highload-churnerhighload-churnerCPPg++14.2.0Success1,582
Oct 19, 2026 07:33highload-churnerhighload-churnerCPPg++14.2.0Success1,574
Oct 19, 2026 07:30highload-churnerhighload-churnerCPPg++14.2.0Success1,574+28.18 RP
Oct 19, 2026 07:25highload-churnerhighload-churnerCPPg++14.2.0Success1,581
Oct 19, 2026 07:23highload-churnerhighload-churnerCPPg++14.2.0Success1,645
Oct 19, 2026 07:19highload-churnerhighload-churnerCPPg++14.2.0Success1,581
Oct 19, 2026 07:08highload-churnerhighload-churnerCPPg++14.2.0Success1,579+19.99 RP
Oct 19, 2026 07:04highload-churnerhighload-churnerCPPg++14.2.0Success1,584+159.29 RP
Oct 19, 2026 06:46highload-churnerhighload-churnerCPPg++14.2.0Success2,995
Oct 19, 2026 04:09zayd-ansari-codezayd-ansari-codeCPPg++10.5.0Success76,949+129.96 RP
Oct 17, 2026 09:52KacpxerKacpxerCPPg++10.5.0Success20,242+494.02 RP
Oct 17, 2026 07:50janwwwjanwwwRUSTrust-1.95.0Success2,057
Oct 17, 2026 01:54highload-churnerhighload-churnerCPPg++14.2.0Success1,640
Oct 16, 2026 13:53highload-churnerhighload-churnerCPPg++14.2.0Success1,636
Oct 16, 2026 10:30highload-churnerhighload-churnerCPPg++14.2.0Success1,633
Oct 16, 2026 10:30highload-churnerhighload-churnerCPPclang++18.1.3Success1,633
Oct 16, 2026 09:28highload-churnerhighload-churnerCPPg++14.2.0Success1,633
Oct 16, 2026 08:16highload-churnerhighload-churnerCPPg++14.2.0Success1,630
Oct 16, 2026 07:00highload-churnerhighload-churnerCPPg++14.2.0Success1,630
Oct 16, 2026 06:19highload-churnerhighload-churnerCPPg++14.2.0Success1,632
Oct 16, 2026 06:19highload-churnerhighload-churnerCPPg++14.2.0Success1,652
Oct 16, 2026 05:07highload-churnerhighload-churnerCPPg++14.2.0Success1,634
Oct 16, 2026 05:05highload-churnerhighload-churnerCPPg++14.2.0Success1,758
Oct 16, 2026 04:53highload-churnerhighload-churnerCPPg++14.2.0Success1,625+268.03 RP
Oct 14, 2026 00:15highload-churnerhighload-churnerCPPg++14.2.0Success18,841
Oct 14, 2026 00:08highload-churnerhighload-churnerCPPg++14.2.0Success13,434
Oct 13, 2026 20:11Karthik ReddyKarthik ReddyCPPg++13.3.0Success1,583
Oct 13, 2026 00:55highload-churnerhighload-churnerCPPg++14.2.0Error
Oct 13, 2026 00:54highload-churnerhighload-churnerCPPg++14.2.0Error
Oct 13, 2026 00:48highload-churnerhighload-churnerCPPg++14.2.0Error
Oct 13, 2026 00:45highload-churnerhighload-churnerCPPg++14.2.0Error
Oct 13, 2026 00:36highload-churnerhighload-churnerCPPg++14.2.0Error
Oct 13, 2026 00:29highload-churnerhighload-churnerCPPg++14.2.0Success1,712
Oct 12, 2026 17:02highload-churnerhighload-churnerCPPg++14.2.0Success1,749
Oct 12, 2026 16:56highload-churnerhighload-churnerCPPg++14.2.0Success3,112
Oct 12, 2026 16:49highload-churnerhighload-churnerCPPg++14.2.0Success3,160
Oct 12, 2026 16:41highload-churnerhighload-churnerCPPg++14.2.0Success1,699+1'365.02 RP
Oct 12, 2026 15:52highload-churnerhighload-churnerCPPg++14.2.0Error
Oct 12, 2026 15:48highload-churnerhighload-churnerCPPg++14.2.0Success6,278
Oct 10, 2026 00:36highload-churnerhighload-churnerCPPg++14.2.0Success2,710
Oct 10, 2026 00:33highload-churnerhighload-churnerCPPg++14.2.0Success2,212+48.52 RP
Oct 10, 2026 00:12highload-churnerhighload-churnerCPPg++14.2.0Success2,236+4.00 RP
Oct 9, 2026 23:44highload-churnerhighload-churnerCPPg++13.3.0Success2,238+216.57 RP
Oct 9, 2026 23:27highload-churnerhighload-churnerCPPg++14.2.0Success55,588
Oct 9, 2026 23:00highload-churnerhighload-churnerCPPg++14.2.0Success2,899
Oct 9, 2026 22:59highload-churnerhighload-churnerCPPg++13.3.0Success2,660
Oct 9, 2026 22:58highload-churnerhighload-churnerCPPg++14.2.0Success2,399
Oct 9, 2026 22:58highload-churnerhighload-churnerCPPg++14.2.0Success2,384
Oct 9, 2026 22:45highload-churnerhighload-churnerCPPg++14.2.0Success2,543
Oct 9, 2026 22:45highload-churnerhighload-churnerCPPg++14.2.0Success2,585
Oct 9, 2026 22:19highload-churnerhighload-churnerCPPg++14.2.0Success2,535
Oct 9, 2026 22:18highload-churnerhighload-churnerCPPg++14.2.0Success2,564
Oct 9, 2026 22:18highload-churnerhighload-churnerCPPg++14.2.0Success2,831
Oct 9, 2026 22:07highload-churnerhighload-churnerCPPg++14.2.0Success2,956
Oct 9, 2026 22:06highload-churnerhighload-churnerCPPg++14.2.0Success2,950
Oct 9, 2026 22:06highload-churnerhighload-churnerCPPg++14.2.0Success2,435
Oct 9, 2026 22:06highload-churnerhighload-churnerCPPg++14.2.0Success2,440
Oct 9, 2026 22:05highload-churnerhighload-churnerCPPg++14.2.0Success2,443
Oct 9, 2026 22:05highload-churnerhighload-churnerCPPg++14.2.0Success2,352+662.33 RP
Oct 9, 2026 21:51highload-churnerhighload-churnerCPPg++14.2.0Success2,976
Oct 9, 2026 21:46highload-churnerhighload-churnerCPPg++14.2.0Success2,924
Oct 9, 2026 21:45highload-churnerhighload-churnerCPPg++13.3.0Success2,853
Oct 9, 2026 21:45highload-churnerhighload-churnerCPPg++14.2.0Success2,920
Oct 9, 2026 21:45highload-churnerhighload-churnerCPPg++14.2.0Success2,786+186.86 RP
Oct 9, 2026 21:23highload-churnerhighload-churnerCPPg++14.2.0Success2,939+13.84 RP
Oct 9, 2026 21:18highload-churnerhighload-churnerCPPg++14.2.0Success3,200
Oct 9, 2026 21:17highload-churnerhighload-churnerCPPg++14.2.0Success2,998
Oct 9, 2026 21:15highload-churnerhighload-churnerCPPg++14.2.0Success2,951+394.67 RP
Oct 9, 2026 20:27highload-churnerhighload-churnerCPPg++13.3.0Success4,021
Oct 9, 2026 20:24highload-churnerhighload-churnerCPPg++14.2.0Success3,665
Oct 9, 2026 20:24highload-churnerhighload-churnerCPPg++14.2.0Success3,508
Oct 9, 2026 16:07Karthik ReddyKarthik ReddyCSHARP9.0.18Success1,604+369.31 RP
Oct 9, 2026 14:39Karthik ReddyKarthik ReddyCSHARP9.0.18Success1,781
Oct 9, 2026 12:17highload-churnerhighload-churnerCPPg++13.3.0Success3,529
Oct 9, 2026 12:03highload-churnerhighload-churnerCPPg++14.2.0Success3,340+188.96 RP
Oct 9, 2026 11:56highload-churnerhighload-churnerCPPg++14.2.0Success3,565+58.55 RP
Oct 9, 2026 11:44highload-churnerhighload-churnerCPPg++14.2.0Success3,641+72.70 RP
Oct 9, 2026 11:43highload-churnerhighload-churnerCPPg++14.2.0Success3,740+64.87 RP
Oct 9, 2026 11:42highload-churnerhighload-churnerCPPg++14.2.0Success3,833+2'608.92 RP
Oct 9, 2026 10:44Karthik ReddyKarthik ReddyZIG0.15.1Success1,584+51.39 RP
Oct 9, 2026 09:00Karthik ReddyKarthik ReddyZIG0.15.1Success1,740
Oct 9, 2026 08:59Karthik ReddyKarthik ReddyRUSTrust-1.95.0Success1,582+275.16 RP
Oct 9, 2026 08:45janwwwjanwwwCPPg++14.2.0Success2,053+4'742.07 RP
Oct 9, 2026 08:16Karthik ReddyKarthik ReddyGOgo1.26.2Success1,683
Oct 9, 2026 08:07Karthik ReddyKarthik ReddyZIG0.15.1Success1,742
Oct 9, 2026 07:16Karthik ReddyKarthik ReddyRUSTrust-1.95.0Success1,772
Oct 8, 2026 18:40Karthik ReddyKarthik ReddyCPPg++13.3.0Error
Oct 8, 2026 18:39Karthik ReddyKarthik ReddyCPPg++13.3.0Error
Oct 8, 2026 18:37Karthik ReddyKarthik ReddyCPPg++13.3.0Error
Oct 8, 2026 18:36Karthik ReddyKarthik ReddyCPPg++13.3.0Error
Oct 8, 2026 18:25Karthik ReddyKarthik ReddyCPPg++13.3.0Success1,621