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
Aug 16, 2025 08:31Aniruddha DebAniruddha DebCPPclang++18.1.3Success9,847
Aug 16, 2025 08:31Aniruddha DebAniruddha DebCPPg++13.3.0Success6,633
Aug 16, 2025 08:29Aniruddha DebAniruddha DebCPPg++13.3.0Success6,622+39.10 RP
Aug 16, 2025 08:28Aniruddha DebAniruddha DebCPPclang++18.1.3Error
Aug 16, 2025 08:15Aniruddha DebAniruddha DebCPPclang++18.1.3Success6,871
Aug 16, 2025 08:14Aniruddha DebAniruddha DebCPPg++13.3.0Success6,798+1.73 RP
Aug 16, 2025 08:13Aniruddha DebAniruddha DebCPPg++13.3.0Success7,448
Aug 7, 2025 22:01Aniruddha DebAniruddha DebCPPg++13.3.0Success7,451
Aug 7, 2025 21:58Aniruddha DebAniruddha DebCPPg++13.3.0Success7,428
Aug 2, 2025 10:42Aniruddha DebAniruddha DebCPPg++13.3.0Error
Aug 2, 2025 10:40Aniruddha DebAniruddha DebCPPg++13.3.0Success7,426
Aug 2, 2025 09:41Aniruddha DebAniruddha DebCPPg++13.3.0Error
Jul 31, 2025 22:13Aniruddha DebAniruddha DebCPPg++13.3.0Success6,806+9.01 RP
Jul 31, 2025 22:12Aniruddha DebAniruddha DebCPPg++13.3.0Success6,848+45.85 RP
Jul 31, 2025 22:09Aniruddha DebAniruddha DebCPPg++13.3.0Success7,070+311.16 RP
Jul 31, 2025 22:08Aniruddha DebAniruddha DebCPPg++13.3.0Error
Jul 31, 2025 22:03Aniruddha DebAniruddha DebCPPg++13.3.0Success9,064+77.83 RP
Jul 31, 2025 22:01Aniruddha DebAniruddha DebCPPg++13.3.0Success14,175
Jul 31, 2025 22:01Aniruddha DebAniruddha DebCPPg++13.3.0Success23,082
Jul 31, 2025 21:16Aniruddha DebAniruddha DebCPPg++13.3.0Error
Jul 8, 2025 21:21Aniruddha DebAniruddha DebCPPg++13.3.0Success9,752+39.92 RP
Jun 21, 2025 20:50Aniruddha DebAniruddha DebCPPg++13.3.0Success10,259
Jun 2, 2025 15:40KeefeKeefeCPPclang++18.1.3Error
Jun 2, 2025 13:28KeefeKeefeCPPclang++18.1.3Success12,068+8.29 RP
May 31, 2025 15:29KeefeKeefeCPPclang++18.1.3Success12,190+69.71 RP
May 31, 2025 15:28KeefeKeefeCPPg++13.3.0Success13,544
May 16, 2025 19:35Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 19:33Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 19:14Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 19:12Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 18:52Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 18:50Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 18:28Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 18:24Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 18:22Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 18:01Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 17:36Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 17:34Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 17:33Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 12:10Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 11:55Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 11:48Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 11:46Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 11:45Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 11:30Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 11:30Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 08:13Neko with earsNeko with earsCSHARP8.0.16Error
May 16, 2025 08:09Neko with earsNeko with earsCSHARP8.0.16Success416,740+24.00 RP
May 16, 2025 08:03Neko with earsNeko with earsCSHARP8.0.16Error
May 13, 2025 18:33KeefeKeefeCPPg++13.3.0Error
May 13, 2025 18:28KeefeKeefeCPPg++13.3.0Success13,322+1.80 RP
May 13, 2025 18:26KeefeKeefeCPPg++13.3.0Success13,354+12.79 RP
May 13, 2025 18:25KeefeKeefeCPPg++13.3.0Success13,586+20.44 RP
May 13, 2025 18:12KeefeKeefeCPPg++13.3.0Error
May 13, 2025 18:05KeefeKeefeCPPg++13.3.0Error
May 2, 2025 04:23KeefeKeefeCPPg++13.3.0Error
May 2, 2025 04:20KeefeKeefeCPPg++13.3.0Error
May 2, 2025 04:17KeefeKeefeCPPg++13.3.0Error
May 2, 2025 03:55KeefeKeefeCPPg++13.3.0Error
May 2, 2025 03:50KeefeKeefeCPPg++13.3.0Error
May 2, 2025 03:48KeefeKeefeCPPg++13.3.0Error
May 2, 2025 03:43KeefeKeefeCPPg++13.3.0Error
May 2, 2025 03:13KeefeKeefeCPPg++13.3.0Error
May 2, 2025 03:09KeefeKeefeCPPg++13.3.0Success13,974+1.99 RP
May 2, 2025 03:04KeefeKeefeCPPg++13.3.0Success14,013+118.95 RP
May 2, 2025 00:26KeefeKeefeCPPg++13.3.0Error
May 2, 2025 00:21KeefeKeefeCPPg++13.3.0Error
May 2, 2025 00:05KeefeKeefeCPPg++13.3.0Error
May 2, 2025 00:03KeefeKeefeCPPg++13.3.0Error
Apr 23, 2025 09:09NoSIMD_C#NoSIMD_C#CSHARP9.0.4Success20,470
Apr 23, 2025 09:04NoSIMD_C#NoSIMD_C#CSHARP9.0.4Success20,306
Apr 22, 2025 17:39NoSIMD_C#NoSIMD_C#CSHARP9.0.4Success22,127
Apr 22, 2025 17:30NoSIMD_C#NoSIMD_C#CSHARP9.0.4Error
Apr 22, 2025 17:11NoSIMD_C#NoSIMD_C#CSHARP9.0.4Error
Apr 22, 2025 17:06NoSIMD_C#NoSIMD_C#CSHARP9.0.4Error
Apr 22, 2025 16:56NoSIMD_C#NoSIMD_C#CSHARP9.0.4Success20,292
Apr 18, 2025 20:56KeefeKeefeCPPclang++18.1.3Success16,816+594.67 RP
Apr 18, 2025 20:52KeefeKeefeCPPclang++18.1.3Error
Apr 18, 2025 20:51KeefeKeefeCPPclang++18.1.3Error
Apr 18, 2025 00:02Chandrasekaran AkashChandrasekaran AkashGOgo1.24.2Success113,205+4.53 RP
Apr 17, 2025 23:11Chandrasekaran AkashChandrasekaran AkashGOgo1.24.2Success369,786
Apr 17, 2025 23:08Chandrasekaran AkashChandrasekaran AkashGOgo1.24.2Success1,193,901
Apr 17, 2025 23:08Chandrasekaran AkashChandrasekaran AkashGOgo1.24.2Success119,318+27.58 RP
Apr 17, 2025 23:06Chandrasekaran AkashChandrasekaran AkashGOgo1.24.2Success177,827+1.28 RP
Apr 17, 2025 23:04Chandrasekaran AkashChandrasekaran AkashGOgo1.24.2Success181,984+54.95 RP
Apr 17, 2025 23:02Chandrasekaran AkashChandrasekaran AkashGOgo1.24.2Error
Apr 17, 2025 22:22Chandrasekaran AkashChandrasekaran AkashCPPclang++18.1.3Error
Apr 17, 2025 22:20Chandrasekaran AkashChandrasekaran AkashCPPclang++18.1.3Error
Apr 17, 2025 22:16Chandrasekaran AkashChandrasekaran AkashCPPclang++18.1.3Error
Apr 17, 2025 22:14Chandrasekaran AkashChandrasekaran AkashCPPclang++18.1.3Error
Apr 17, 2025 22:11Chandrasekaran AkashChandrasekaran AkashCPPclang++18.1.3Error
Apr 17, 2025 22:11Chandrasekaran AkashChandrasekaran AkashCPPclang++18.1.3Error
Apr 17, 2025 22:10Chandrasekaran AkashChandrasekaran AkashCPPclang++18.1.3Error
Apr 17, 2025 22:10Chandrasekaran AkashChandrasekaran AkashCPPclang++18.1.3Error
Apr 17, 2025 22:05Chandrasekaran AkashChandrasekaran AkashCPPclang++18.1.3Error
Apr 17, 2025 22:03Chandrasekaran AkashChandrasekaran AkashCPPclang++18.1.3Error
Apr 9, 2025 17:43NoSIMD_C#NoSIMD_C#CSHARP9.0.0-rc.2Success20,217
Apr 8, 2025 12:34Andrey LikhachevAndrey LikhachevGOgo1.24.2Success64,818
Apr 8, 2025 12:31Andrey LikhachevAndrey LikhachevRUSTrust-1.86.0Success25,302+20.36 RP
Apr 8, 2025 12:26Andrey LikhachevAndrey LikhachevRUSTrust-1.86.0Success26,676+43.51 RP