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 listOct 31, 2026 11:15Anirudha SarafAnirudha SarafError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 31, 2026 13:07Andrew Epstein10.90CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 13:090421,351,681406,850,0003,685,0002,113,536expected "37358674287011351 ", got "37133281325225441 "
2Oct 31, 2026 13:090419,344,465404,616,0004,050,0002,113,536expected "37520127264400888 ", got "37295078511016431 "
3Oct 31, 2026 13:0938,442329,604,258318,068,0001,004,0002,113,536
4Oct 31, 2026 11:1538,909333,765,771319,263,0003,688,00020,480
5Oct 31, 2026 11:1538,921333,835,905319,313,0003,736,00020,480
6Oct 31, 2026 11:1538,924333,785,244319,292,0003,778,00020,480
7Oct 31, 2026 11:1538,929333,827,491319,340,0003,772,00020,480
8Oct 31, 2026 11:1538,933333,890,681319,287,0003,859,00020,480
9Oct 31, 2026 11:1538,962334,175,110319,465,0003,927,00020,480
10Oct 31, 2026 11:1538,973334,121,745319,266,0004,214,0002,113,536
11Oct 31, 2026 11:1538,977334,193,406319,460,0004,055,00020,480
12Oct 31, 2026 11:1539,031334,822,700319,492,0004,468,00020,480