Parse integers Sergey Svistunov

Compute the sum of integers read from STDIN as fast as possible.

Input: 50 000 000 lines, each containing one integer in the range [0; 2147483647].

629871117
2024562523
1372689083
1021777120
2111176472

Output: The uint64 sum of all numbers, printed as a decimal string.

Note: Integer overflow is expected – use a 64-bit accumulator.

Back to listJul 3, 2021 17:21Sergey SamokhvalovSergey SamokhvalovScore: 26,962Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2021 17:2126,785269,449,690222,312,09002,232,320
2Jul 3, 2021 17:2126,832266,560,827222,704,30202,240,512
3Jul 3, 2021 17:2126,840252,961,595145,848,00076,920,0002,269,184
4Jul 3, 2021 17:2126,841246,028,740160,844,00061,940,0002,392,064
5Jul 3, 2021 17:2126,858283,886,995222,925,16102,248,704
6Jul 3, 2021 17:2126,938251,979,230171,452,00052,137,0002,396,160
7Jul 3, 2021 17:2126,962247,627,674173,833,00049,952,0002,269,184
8Jul 3, 2021 17:2126,976248,813,093154,930,00068,968,0002,392,064
9Jul 3, 2021 17:2127,027251,999,493165,238,00059,085,0002,269,184
10Jul 3, 2021 17:2127,098249,282,371172,934,00051,980,0002,387,968
11Jul 3, 2021 17:2127,136246,548,666152,152,00073,073,0002,269,184
12Jul 3, 2021 17:2127,162249,076,790150,297,00075,148,0002,392,064