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 listAug 12, 2025 02:09Ashish AhujaAshish AhujaScore: 44,388Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 12, 2025 02:1842,772380,085,804354,008,0001,000,0002,277,376
2Aug 12, 2025 02:1842,784383,682,480354,109,0001,000,0002,510,848
3Aug 12, 2025 02:1842,791378,118,782354,162,0001,000,0002,285,568
4Aug 12, 2025 02:1842,792383,986,189355,170,00002,277,376
5Aug 12, 2025 02:1842,796384,119,485354,210,0001,000,0002,510,848
6Aug 12, 2025 02:1842,796377,795,540353,204,0002,001,0002,510,848
7Aug 12, 2025 02:1842,798380,271,741353,220,0002,001,0002,285,568
8Aug 12, 2025 02:1842,848385,777,280355,636,00002,347,008
9Aug 12, 2025 02:1842,862382,024,932353,758,0001,998,0002,510,848
10Aug 12, 2025 02:0944,388397,124,349367,424,000998,0002,277,376
11Aug 12, 2025 02:0944,389393,699,727368,432,00002,371,584
12Aug 12, 2025 02:0944,403395,279,996366,550,0001,997,0002,277,376
13Aug 12, 2025 02:0944,414398,623,880366,642,0001,998,0002,285,568
14Aug 12, 2025 02:0944,417395,246,715367,659,000999,0002,506,752
15Aug 12, 2025 02:0944,906393,649,630370,721,0001,998,0002,506,752
16Aug 12, 2025 02:0944,914396,103,853371,790,000999,0002,277,376
17Aug 12, 2025 02:0944,916394,380,269370,806,0001,998,0002,506,752
18Aug 12, 2025 02:0944,969399,460,020373,241,00002,273,280