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 listMar 14, 2026 20:52wnwnScore: 4,264Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 14, 2026 20:514,24957,473,24533,253,0002,015,0002,494,464
2Mar 14, 2026 20:564,25059,585,51934,265,0001,007,0002,273,280
3Mar 14, 2026 20:564,25055,246,00234,265,0001,007,0002,490,368
4Mar 14, 2026 20:544,25258,110,27634,282,0001,008,0002,494,464
5Mar 14, 2026 20:514,25458,176,43834,299,0001,008,0002,273,280
6Mar 14, 2026 20:514,25560,039,43234,305,0001,008,0002,273,280
7Mar 14, 2026 20:544,25566,443,87234,306,0001,009,0002,502,656
8Mar 14, 2026 20:554,25662,612,73634,315,0001,009,0002,273,280
9Mar 14, 2026 20:514,25756,274,54334,328,0001,009,0002,273,280
10Mar 14, 2026 20:514,25855,769,65734,333,0001,009,0002,490,368
11Mar 14, 2026 20:524,26457,222,57034,378,0001,011,0002,273,280
12Mar 14, 2026 20:554,26557,023,68734,391,0001,011,0002,273,280
13Mar 14, 2026 20:554,26753,401,03834,406,0001,011,0002,527,232
14Mar 14, 2026 20:514,26953,173,64634,421,0001,012,0002,531,328
15Mar 14, 2026 20:544,26963,233,77034,420,0001,012,0002,273,280
16Mar 14, 2026 20:564,27461,434,85934,459,0001,013,0002,273,280
17Mar 14, 2026 20:524,28061,030,44634,508,0001,014,0002,494,464
18Mar 14, 2026 20:514,28256,753,74634,526,0001,015,0002,531,328
19Mar 14, 2026 20:514,28561,986,01733,590,0001,975,0002,273,280
20Mar 14, 2026 20:514,31965,572,09934,856,000995,0002,273,280
21Mar 14, 2026 20:524,32060,380,75834,863,000996,0002,273,280