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 listJul 7, 2026 10:51Adam FolwarcznyAdam FolwarcznyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 8, 2026 12:53wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2026 12:54055,673,32244,008,0002,176,0002,113,536expected "99999999335032554 ", got "86414768502344619 "
2Jul 8, 2026 12:54055,850,63944,049,0002,210,0002,113,536expected "99999999610037880 ", got "86414768477344619 "
3Jul 8, 2026 12:54055,757,84644,111,0002,183,0002,113,536expected "99999998142360845 ", got "86414767508444619 "
4Jul 7, 2026 10:545,71456,857,74645,166,0002,264,0002,113,536
5Jul 7, 2026 10:545,73257,115,59445,390,0002,189,0002,113,536
6Jul 7, 2026 10:545,74557,102,43945,494,0002,190,0002,113,536
7Jul 7, 2026 10:545,76557,436,08845,646,0002,209,0002,113,536
8Jul 7, 2026 10:545,76957,349,36445,686,0002,202,0002,113,536
9Jul 7, 2026 10:545,77157,460,39645,669,0002,236,0002,113,536
10Jul 7, 2026 10:545,78057,449,53245,889,0002,085,0002,113,536
11Jul 7, 2026 10:545,78457,449,71845,781,0002,232,0002,113,536
12Jul 7, 2026 10:545,80057,782,70345,922,0002,222,0002,113,536