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 listFeb 26, 2026 21:44Daniel MastalerzDaniel MastalerzScore: 5,684Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 26, 2026 21:445,58867,489,60944,361,0002,016,0002,506,752
2Feb 26, 2026 21:445,59873,375,40045,456,0001,010,0002,281,472
3Feb 26, 2026 21:445,60372,493,28745,494,0001,010,0002,506,752
4Feb 26, 2026 21:445,68472,624,37045,174,0002,007,0002,277,376
5Feb 26, 2026 21:445,68869,285,40345,204,0002,009,0002,506,752
6Feb 26, 2026 21:445,72570,265,63545,499,0002,022,0002,502,656