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 listApr 12, 2026 21:40zielajzielajError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Apr 27, 2026 02:42wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 02:42016,258,08201,216,000458,752No answer to stdout. Died or killed?
2Apr 12, 2026 21:403,39251,634,98226,143,0002,011,0002,441,216
3Apr 12, 2026 21:403,40650,980,00127,263,0001,009,0002,519,040
4Apr 12, 2026 21:403,53649,834,37328,335,0001,011,0002,441,216