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 8, 2026 12:43Daniel MastalerzDaniel MastalerzScore: 10,750Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 8, 2026 12:4310,694114,925,55885,771,0002,992,0002,326,528
2Feb 8, 2026 12:4310,699111,750,96079,824,0008,980,0002,519,040
3Feb 8, 2026 12:4310,704114,681,76579,863,0008,984,0002,293,760
4Feb 8, 2026 12:4310,713112,130,98079,928,0008,991,0002,269,184
5Feb 8, 2026 12:4310,734115,941,70280,084,0009,009,0002,310,144
6Feb 8, 2026 12:4310,739111,778,02881,125,0008,012,0002,277,376
7Feb 8, 2026 12:4310,750115,217,76285,216,0004,010,0002,379,776
8Feb 8, 2026 12:4310,754112,708,19984,241,0005,014,0002,273,280
9Feb 8, 2026 12:4310,759108,487,68080,271,0009,030,0002,289,664
10Feb 8, 2026 12:4310,900112,727,66782,426,0008,041,0002,289,664
11Feb 8, 2026 12:4310,902115,573,03788,474,0002,010,0002,277,376
12Feb 8, 2026 12:4310,902117,846,37188,473,0002,010,0002,306,048