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 listDec 6, 2025 15:42Rajarshi BasuRajarshi BasuScore: 6,367Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2025 15:436,23684,703,23849,771,0001,990,0002,289,664
2Dec 6, 2025 15:436,23877,891,31050,783,000995,0002,289,664
3Dec 6, 2025 15:426,24177,959,98149,805,0001,992,0002,281,472
4Dec 6, 2025 15:436,24378,242,55649,827,0001,993,0002,289,664
5Dec 6, 2025 15:436,24480,372,59450,826,000996,0002,289,664
6Dec 6, 2025 15:436,24577,093,16349,838,0001,993,0002,289,664
7Dec 6, 2025 15:426,25777,381,59149,936,0001,997,0002,289,664
8Dec 6, 2025 15:436,26075,229,69748,963,0002,997,0002,269,184
9Dec 6, 2025 15:426,36179,233,35050,805,0001,992,0002,289,664
10Dec 6, 2025 15:436,36775,221,38151,832,0001,016,0002,277,376
11Dec 6, 2025 15:436,39477,948,41451,068,0002,002,0002,289,664
12Dec 6, 2025 15:426,39883,106,82451,098,0002,003,0002,281,472
13Dec 6, 2025 15:436,40076,019,25451,120,0002,004,0002,281,472
14Dec 6, 2025 15:436,40573,814,62852,157,0001,003,0002,297,856
15Dec 6, 2025 15:436,45184,154,01152,537,0001,010,0002,289,664
16Dec 6, 2025 15:426,47677,118,47050,768,0002,986,0002,273,280
17Dec 6, 2025 15:426,48386,035,09251,816,0001,992,0002,273,280
18Dec 6, 2025 15:436,53787,263,89252,250,0002,009,0002,289,664