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:35Daniel MastalerzDaniel MastalerzScore: 5,401Success
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:355,35972,374,95342,457,0002,021,0002,424,832
2Feb 26, 2026 21:355,36769,288,65043,538,0001,012,0002,289,664
3Feb 26, 2026 21:355,37271,378,80442,564,0002,026,0002,424,832
4Feb 26, 2026 21:355,37272,129,63642,562,0002,026,0002,289,664
5Feb 26, 2026 21:355,37873,522,91843,621,0001,014,0002,293,760
6Feb 26, 2026 21:355,38770,960,94543,721,000993,0002,514,944
7Feb 26, 2026 21:355,40074,538,69742,826,0001,991,0002,293,760
8Feb 26, 2026 21:355,40178,086,43041,843,0002,988,0002,293,760
9Feb 26, 2026 21:355,40176,011,14341,841,0002,988,0002,424,832
10Feb 26, 2026 21:355,43970,925,04842,134,0003,009,0002,514,944
11Feb 26, 2026 21:355,45868,482,79342,284,0003,020,0002,289,664
12Feb 26, 2026 21:355,46370,329,68742,320,0003,022,0002,277,376
13Feb 26, 2026 21:355,47569,178,34542,417,0003,029,0002,285,568
14Feb 26, 2026 21:355,47668,000,77643,428,0002,019,0002,285,568
15Feb 26, 2026 21:355,51776,132,84842,801,0002,986,0002,289,664