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 listNov 13, 2026 04:01mxzillimxzilliError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 13, 2026 04:010444,168,446432,186,0001,159,0002,117,632expected "53700142832979535 ", got "10013002709190315027302670507050905210522 "
2Nov 13, 2026 04:010445,332,792433,315,0001,097,0002,117,632expected "53683617589337791 ", got "10014002709180316027202720506050805240526 "
3Nov 13, 2026 04:010447,293,635435,266,0001,073,0002,117,632expected "53684451174751780 ", got "10013002709180314027402690506053105250526 "