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 listMar 18, 2026 18:40wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 22:22Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 22:22041,282,78832,079,0001,132,0002,113,536expected "74600294196621100 ", got "40761300069243180 "
2Jul 6, 2026 22:22041,750,07932,140,0001,146,0002,113,536expected "74600294196621100 ", got "40768254625300780 "
3Jul 6, 2026 22:22043,720,06034,444,0001,130,0002,113,536expected "74600294196621100 ", got "44547243704874028 "
4Mar 18, 2026 18:404,22555,194,63133,064,0002,003,0002,494,464
5Mar 18, 2026 18:404,22957,751,61033,097,0002,005,0002,273,280
6Mar 18, 2026 18:404,23558,783,95233,143,0002,008,0002,273,280
7Mar 18, 2026 18:394,23756,284,10933,155,0002,009,0002,498,560
8Mar 18, 2026 18:384,23762,452,43633,154,0002,009,0002,273,280
9Mar 18, 2026 18:404,23755,194,24533,156,0002,009,0002,273,280
10Mar 18, 2026 18:384,24257,926,56433,199,0002,012,0002,490,368
11Mar 18, 2026 18:384,24355,145,79133,208,0002,012,0002,494,464
12Mar 18, 2026 18:394,25556,692,89134,309,0001,009,0002,490,368
13Mar 18, 2026 18:394,25662,894,71434,316,0001,009,0002,273,280
14Mar 18, 2026 18:404,25955,897,68834,339,0001,009,0002,527,232
15Mar 18, 2026 18:384,26161,882,74334,356,0001,010,0002,273,280
16Mar 18, 2026 18:384,26358,153,31734,369,0001,010,0002,273,280
17Mar 18, 2026 18:404,26460,408,82634,380,0001,011,0002,498,560
18Mar 18, 2026 18:404,27157,861,90334,437,0001,012,0002,494,464
19Mar 18, 2026 18:404,27757,459,78534,489,0001,014,0002,531,328
20Mar 18, 2026 18:404,28059,954,56634,512,0001,015,0002,486,272
21Mar 18, 2026 18:404,28264,175,59134,523,0001,015,0002,273,280
22Mar 18, 2026 18:404,29164,501,37334,595,0001,017,0002,273,280
23Mar 18, 2026 18:404,29462,782,45734,626,0001,018,0002,494,464
24Mar 18, 2026 18:384,31859,700,46134,841,000995,0002,531,328