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 24, 2026 19:59Daniel MastalerzDaniel MastalerzScore: 5,450Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2026 19:595,42070,358,27340,991,0003,999,0002,265,088
2Feb 24, 2026 19:595,42673,228,55441,032,0004,003,0002,326,528
3Feb 24, 2026 20:005,42970,907,19842,055,0003,003,0002,326,528
4Feb 24, 2026 19:595,42967,774,79143,061,0002,002,0002,523,136
5Feb 24, 2026 19:595,43266,951,31741,079,0004,007,0002,265,088
6Feb 24, 2026 19:595,43966,637,66941,128,0004,012,0002,269,184
7Feb 24, 2026 19:595,44266,383,38941,156,0004,015,0002,326,528
8Feb 24, 2026 20:005,44278,198,62641,152,0004,014,0002,326,528
9Feb 24, 2026 20:005,44871,336,38241,200,0004,019,0002,326,528
10Feb 24, 2026 19:595,45072,936,53141,216,0004,021,0002,269,184
11Feb 24, 2026 19:595,46177,819,79042,303,0003,021,0002,514,944
12Feb 24, 2026 19:595,46268,047,16541,303,0004,029,0002,326,528
13Feb 24, 2026 19:595,52577,768,11842,870,0002,990,0002,265,088
14Feb 24, 2026 20:005,52868,055,38042,892,0002,992,0002,273,280
15Feb 24, 2026 20:005,53468,428,19841,941,0003,994,0002,318,336
16Feb 24, 2026 19:595,54270,509,97842,000,0004,000,0002,318,336
17Feb 24, 2026 20:005,54367,707,25642,003,0004,000,0002,318,336
18Feb 24, 2026 19:595,55065,237,44243,059,0003,004,0002,310,144