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 7, 2026 18:16wnwnScore: 4,400Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 7, 2026 18:164,33663,516,34433,988,0001,999,0002,273,280
2Mar 7, 2026 18:164,34957,293,67034,088,0002,005,0002,273,280
3Mar 7, 2026 18:164,36664,334,10134,224,0002,013,0002,494,464
4Mar 7, 2026 18:164,37857,695,92534,316,0002,018,0002,273,280
5Mar 7, 2026 18:164,37860,099,83734,317,0002,018,0002,490,368
6Mar 7, 2026 18:174,38159,670,17735,354,0001,010,0002,269,184
7Mar 7, 2026 18:174,39956,508,78135,501,0001,014,0002,531,328
8Mar 7, 2026 18:174,40059,346,11935,505,0001,014,0002,273,280
9Mar 7, 2026 18:164,40259,459,57035,519,0001,014,0002,498,560
10Mar 7, 2026 18:164,41861,909,76535,649,0001,018,0002,490,368
11Mar 7, 2026 18:174,41861,114,99035,650,0001,018,0002,494,464
12Mar 7, 2026 18:164,43861,038,81835,839,000995,0002,273,280
13Mar 7, 2026 18:174,45861,127,50735,002,0002,000,0002,273,280
14Mar 7, 2026 18:174,45856,148,26835,001,0002,000,0002,502,656
15Mar 7, 2026 18:164,46463,879,05935,050,0002,002,0002,494,464