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 27, 2026 10:24wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:39Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:40037,056,20728,066,0001,016,0002,113,536expected "74600294196621100 ", got "74535198441078790 "
2Jul 6, 2026 16:40037,274,60527,818,0001,041,0002,113,536expected "74600294196621100 ", got "74534752637567389 "
3Jul 6, 2026 16:40037,415,78227,968,0001,028,0002,113,536expected "74600294196621100 ", got "74534747256321740 "
4Apr 27, 2026 10:253,44243,936,92927,556,0001,020,0002,490,368
5Apr 27, 2026 10:253,45044,163,64927,617,0001,022,0002,486,272
6Apr 27, 2026 10:253,45245,368,60827,631,0001,023,0002,486,272
7Apr 27, 2026 10:253,48143,310,39226,906,0001,993,0002,486,272
8Apr 27, 2026 10:253,51246,135,80728,148,0001,005,0002,490,368
9Apr 27, 2026 10:253,61344,778,63827,994,0001,999,0002,490,368
10Apr 27, 2026 10:253,62743,702,36329,104,0001,003,0002,490,368
11Apr 27, 2026 10:253,63547,351,07029,169,0001,005,0002,482,176
12Apr 27, 2026 10:253,66247,293,16329,384,0001,013,0002,490,368