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 listMay 9, 2025 01:26nnScore: 125,473Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 9, 2025 01:26125,1051,069,081,3211,037,375,000999,0002,285,568
2May 9, 2025 01:13125,2031,067,895,6061,038,185,0001,000,0002,281,472
3May 9, 2025 01:26125,2851,066,216,4421,038,866,000999,0002,285,568
4May 9, 2025 01:13125,3671,071,253,3261,038,544,0001,999,0002,285,568
5May 9, 2025 01:13125,4361,066,261,7251,041,117,00002,285,568
6May 9, 2025 01:13125,4621,070,239,0561,039,333,0001,998,0002,285,568
7May 9, 2025 01:26125,4641,066,630,1211,040,349,000999,0002,285,568
8May 9, 2025 01:13125,4731,076,223,3571,040,425,0001,000,0002,285,568
9May 9, 2025 01:26125,5571,072,509,3801,042,122,00002,285,568
10May 9, 2025 01:26125,5911,072,246,7821,040,407,0001,998,0002,285,568
11May 9, 2025 01:13125,7251,073,442,7931,042,518,000999,0002,359,296
12May 9, 2025 01:13125,7381,067,676,1961,041,630,0001,999,0002,486,272
13May 9, 2025 01:26125,7871,068,400,7561,043,032,0001,000,0002,285,568
14May 9, 2025 01:13125,8371,069,553,8901,042,453,0001,998,0002,285,568
15May 9, 2025 01:13126,0991,068,984,2331,045,622,000999,0002,285,568