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 listOct 7, 2026 20:58janwwwjanwwwScore: 135,619Success
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 16, 2026 14:08Andrew Epstein10.00CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2026 21:01134,7582,598,254,345385,905,000220,510,00061,440
2Oct 7, 2026 21:01134,7812,601,086,984385,677,000220,841,00036,864
3Oct 7, 2026 21:01135,3492,602,489,360386,989,000222,085,00061,440
4Oct 7, 2026 21:01135,4292,585,045,293387,033,000222,398,00057,344
5Oct 7, 2026 21:01135,6192,612,682,095387,082,000223,204,00040,960
6Oct 7, 2026 21:01135,9672,619,767,352387,805,000224,050,00077,824
7Oct 7, 2026 21:01137,8902,606,384,909386,174,000234,332,00020,480
8Oct 7, 2026 21:01138,2362,594,526,341386,576,000235,489,00020,480
9Oct 7, 2026 21:01138,2912,591,565,746387,633,000234,677,00020,480