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 21, 2026 18:18Daniel MastalerzDaniel MastalerzScore: 5,616Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 21, 2026 18:185,53568,936,07841,945,0003,994,0002,322,432
2Feb 21, 2026 18:185,54769,713,37742,033,0004,003,0002,269,184
3Feb 21, 2026 18:185,55169,832,18042,069,0004,006,0002,523,136
4Feb 21, 2026 18:185,55467,521,21842,093,0004,008,0002,269,184
5Feb 21, 2026 18:185,55774,855,10042,110,0004,010,0002,322,432
6Feb 21, 2026 18:185,56466,689,34743,173,0003,012,0002,387,968
7Feb 21, 2026 18:185,56867,406,95342,199,0004,018,0002,326,528
8Feb 21, 2026 18:185,57273,519,64543,234,0003,016,0002,269,184
9Feb 21, 2026 18:185,57268,190,40142,229,0004,021,0002,326,528
10Feb 21, 2026 18:185,61672,527,40143,576,0003,040,0002,273,280
11Feb 21, 2026 18:185,63072,680,20343,682,0003,047,0002,269,184
12Feb 21, 2026 18:185,64570,617,27342,864,0003,987,0002,273,280
13Feb 21, 2026 18:185,64672,199,38243,874,0002,991,0002,260,992
14Feb 21, 2026 18:185,64966,421,83243,895,0002,992,0002,260,992
15Feb 21, 2026 18:185,65470,875,68342,935,0003,994,0002,273,280
16Feb 21, 2026 18:185,65872,073,05642,964,0003,996,0002,318,336
17Feb 21, 2026 18:185,67872,577,56943,120,0004,011,0002,314,240
18Feb 21, 2026 18:185,72069,761,05444,445,0003,030,0002,265,088