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 listDec 6, 2025 15:07Rajarshi BasuRajarshi BasuScore: 6,269Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2025 15:076,24778,181,57950,856,000997,0002,289,664
2Dec 6, 2025 15:076,25177,786,55749,886,0001,995,0002,289,664
3Dec 6, 2025 15:076,25179,368,88849,891,0001,995,0002,281,472
4Dec 6, 2025 15:076,25477,456,18149,916,0001,996,0002,289,664
5Dec 6, 2025 15:076,25581,549,46448,923,0002,995,0002,289,664
6Dec 6, 2025 15:076,25782,027,90749,935,0001,997,0002,289,664
7Dec 6, 2025 15:076,26284,537,90550,973,000999,0002,277,376
8Dec 6, 2025 15:076,26682,688,15850,006,0002,000,0002,277,376
9Dec 6, 2025 15:066,26977,624,03350,034,0002,001,0002,289,664
10Dec 6, 2025 15:076,26982,231,71250,030,0002,001,0002,289,664
11Dec 6, 2025 15:066,27882,508,35651,107,0001,002,0002,289,664
12Dec 6, 2025 15:066,38979,482,01852,028,0001,000,0002,289,664
13Dec 6, 2025 15:066,39379,675,90351,059,0002,002,0002,273,280
14Dec 6, 2025 15:076,39485,277,09351,067,0002,002,0002,519,040
15Dec 6, 2025 15:076,39478,508,35051,068,0002,002,0002,269,184
16Dec 6, 2025 15:066,39678,086,07651,082,0002,003,0002,289,664
17Dec 6, 2025 15:076,39678,393,69551,080,0002,003,0002,289,664
18Dec 6, 2025 15:066,44475,767,55552,474,0001,009,0002,289,664