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 listApr 13, 2026 18:25Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 00:28Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 00:28043,000,69833,859,0001,187,0002,117,632expected "74600294196621100 ", got "15157161612717868 "
2Jul 7, 2026 00:28043,118,59533,820,0001,193,0002,117,632expected "74600294196621100 ", got "16881282700717868 "
3Jul 7, 2026 00:28043,108,39433,963,0001,229,0002,117,632expected "74600294196621100 ", got "15157030540717868 "
4Apr 13, 2026 18:254,32360,842,64033,891,0001,993,0002,469,888
5Apr 13, 2026 18:264,33664,065,97833,988,0001,999,0002,535,424
6Apr 13, 2026 18:264,33860,565,76134,007,0002,000,0002,469,888
7Apr 13, 2026 18:254,34059,256,98834,019,0002,001,0002,535,424
8Apr 13, 2026 18:264,34961,259,60034,091,0002,005,0002,535,424
9Apr 13, 2026 18:264,34963,071,45334,093,0002,005,0002,465,792
10Apr 13, 2026 18:264,34963,376,08334,095,0002,005,0002,535,424
11Apr 13, 2026 18:254,35866,736,29834,166,0002,009,0002,535,424
12Apr 13, 2026 18:264,36064,893,92834,180,0002,010,0002,473,984
13Apr 13, 2026 18:254,36260,005,61734,194,0002,011,0002,473,984
14Apr 13, 2026 18:254,36361,081,13934,199,0002,011,0002,469,888
15Apr 13, 2026 18:254,36560,168,50634,220,0002,012,0002,465,792
16Apr 13, 2026 18:264,36858,026,49234,241,0002,014,0002,535,424
17Apr 13, 2026 18:264,36960,166,66934,249,0002,014,0002,273,280
18Apr 13, 2026 18:254,37663,146,66135,312,0001,008,0002,535,424
19Apr 13, 2026 18:264,37761,519,24334,309,0002,018,0002,273,280
20Apr 13, 2026 18:254,37960,327,65135,336,0001,009,0002,473,984
21Apr 13, 2026 18:254,38160,236,64535,350,0001,010,0002,473,984