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 18:41Daniel MastalerzDaniel MastalerzScore: 5,551Success
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 18:415,47469,978,07541,394,0004,038,0002,310,144
2Feb 24, 2026 18:415,47868,589,26742,437,0003,031,0002,523,136
3Feb 24, 2026 18:415,48364,397,55642,474,0003,033,0002,523,136
4Feb 24, 2026 18:425,48873,157,73942,513,0003,036,0002,318,336
5Feb 24, 2026 18:415,49272,602,95542,548,0003,039,0002,326,528
6Feb 24, 2026 18:415,49577,695,57242,568,0003,040,0002,326,528
7Feb 24, 2026 18:415,49778,155,01442,584,0003,041,0002,326,528
8Feb 24, 2026 18:425,50278,705,79742,619,0003,044,0002,326,528
9Feb 24, 2026 18:415,51978,374,65141,822,0003,983,0002,265,088
10Feb 24, 2026 18:415,55169,089,99042,071,0004,006,0002,326,528
11Feb 24, 2026 18:415,55374,271,14242,086,0004,008,0002,318,336
12Feb 24, 2026 18:425,57670,157,59142,254,0004,024,0002,306,048
13Feb 24, 2026 18:415,59769,955,75043,425,0003,029,0002,260,992
14Feb 24, 2026 18:425,59868,907,64443,437,0003,030,0002,260,992
15Feb 24, 2026 18:415,59867,893,20543,433,0003,030,0002,260,992
16Feb 24, 2026 18:415,61077,244,36543,523,0003,036,0002,519,040
17Feb 24, 2026 18:425,64175,138,59943,834,0002,988,0002,306,048
18Feb 24, 2026 18:425,69768,224,40843,261,0004,024,0002,285,568