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
Sep 27, 2026 00:58Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,928
Sep 27, 2026 00:55Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 27, 2026 00:55Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 27, 2026 00:53Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 27, 2026 00:52Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 27, 2026 00:51Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 27, 2026 00:50Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 27, 2026 00:49Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 27, 2026 00:48Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 27, 2026 00:45Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 27, 2026 00:44Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 27, 2026 00:42Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Error
Sep 27, 2026 00:41Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 27, 2026 00:37Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 27, 2026 00:36Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Error
Sep 27, 2026 00:35Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Error
Sep 27, 2026 00:34Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 26, 2026 23:44Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,866
Sep 26, 2026 23:38Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 26, 2026 23:37Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Error
Sep 26, 2026 23:34Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,856
Sep 26, 2026 23:32Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,816
Sep 26, 2026 23:29Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,860
Sep 26, 2026 23:27Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 26, 2026 23:23Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,761
Sep 26, 2026 23:21Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,849
Sep 26, 2026 23:18Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,873
Sep 26, 2026 23:13Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,863
Sep 26, 2026 23:11Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,779
Sep 26, 2026 23:08Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,848
Sep 26, 2026 23:05Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,863
Sep 26, 2026 23:03Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,871
Sep 26, 2026 23:00Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 26, 2026 22:59Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 26, 2026 22:59Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 26, 2026 22:58Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 26, 2026 22:56Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Error
Sep 26, 2026 22:55Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Error
Sep 26, 2026 22:54Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Error
Sep 26, 2026 22:54Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 26, 2026 22:50Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,882
Sep 26, 2026 22:01Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,849
Sep 26, 2026 22:00Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 26, 2026 21:58Kevin HeaveyKevin HeaveyCSHARP9.0.18Error
Sep 26, 2026 21:57Kevin HeaveyKevin HeaveyZIG0.15.1Error
Sep 26, 2026 21:56Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Error
Sep 26, 2026 21:53Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,625
Sep 26, 2026 21:50Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,870
Sep 26, 2026 21:46Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Error
Sep 26, 2026 21:46Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 26, 2026 21:43Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,835
Sep 26, 2026 21:39Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,837
Sep 26, 2026 21:36Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,856
Sep 26, 2026 21:33Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,632
Sep 26, 2026 21:30Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,628
Sep 26, 2026 21:28Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 26, 2026 21:24Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,879
Sep 26, 2026 21:22Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 26, 2026 21:20Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,816
Sep 26, 2026 21:16Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,866
Sep 26, 2026 21:13Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,616
Sep 26, 2026 21:10Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,833
Sep 26, 2026 21:05Kevin HeaveyKevin HeaveyGOgo1.26.2Success1,815
Sep 26, 2026 21:02Kevin HeaveyKevin HeaveyZIG0.15.1Success1,836
Sep 26, 2026 20:59Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,858
Sep 26, 2026 19:54Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,687
Sep 26, 2026 19:00Kevin HeaveyKevin HeaveyCSHARP9.0.18Success1,705+51.15 RP
Sep 26, 2026 18:57Kevin HeaveyKevin HeaveyGOgo1.26.2Success1,861
Sep 26, 2026 18:54Kevin HeaveyKevin HeaveyZIG0.15.1Success1,826
Sep 26, 2026 18:51Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,842
Sep 25, 2026 08:51Matthias GörgensMatthias GörgensCPPclang++19.1.1Success12,364
Sep 23, 2026 18:04Matthias GörgensMatthias GörgensCPPclang++19.1.1Success11,983+839.52 RP
Sep 23, 2026 18:01Matthias GörgensMatthias GörgensCPPclang++19.1.1Error
Sep 23, 2026 17:58Matthias GörgensMatthias GörgensCPPclang++19.1.1Error
Sep 23, 2026 17:56Matthias GörgensMatthias GörgensCPPclang++19.1.1Error
Sep 23, 2026 13:23Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,602+210.68 RP
Sep 23, 2026 13:15Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,645
Sep 23, 2026 13:11Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,631+55.87 RP
Sep 23, 2026 13:01Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,646+247.83 RP
Sep 23, 2026 12:54Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,761
Sep 23, 2026 12:54Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,716+735.86 RP
Sep 23, 2026 12:38Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,964+5'096.65 RP
Sep 23, 2026 12:20Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 23, 2026 07:34githubskribble24githubskribble24CPPg++10.5.0Success76,681+135.41 RP
Sep 21, 2026 23:50Andrew EpsteinAndrew EpsteinCSHARP10.0.7Success1,720+20.21 RP
Sep 21, 2026 23:35Andrew EpsteinAndrew EpsteinCSHARP10.0.7Success1,735
Sep 21, 2026 23:27Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success19,887
Sep 21, 2026 23:26Andrew EpsteinAndrew EpsteinCSHARP9.0.15Success1,766
Sep 21, 2026 23:10Andrew EpsteinAndrew EpsteinCSHARP9.0.15Success1,792
Sep 21, 2026 23:09Andrew EpsteinAndrew EpsteinZIG0.15.1Success1,655+29.07 RP
Sep 21, 2026 23:09Andrew EpsteinAndrew EpsteinRUSTrust-1.95.0Success1,654+50.75 RP
Sep 21, 2026 23:09Andrew EpsteinAndrew EpsteinGOgo1.26.2Success1,713+57.36 RP
Sep 21, 2026 21:54Andrew EpsteinAndrew EpsteinCPPg++13.3.0Success1,628+148.93 RP
Sep 21, 2026 21:54Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success1,666
Sep 21, 2026 21:48Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success1,805
Sep 21, 2026 21:47Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success1,680
Sep 21, 2026 21:46Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success25,831
Sep 21, 2026 21:41Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success1,663
Sep 21, 2026 21:40Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success1,741
Sep 21, 2026 21:38Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success10,753