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 listJun 30, 2026 10:41Adam FolwarcznyAdam FolwarcznyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 8, 2026 13:04wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2026 13:04069,371,16760,121,0001,058,0002,117,632expected "99999999683060265 ", got "86414768450344619 "
2Jul 8, 2026 13:04070,326,91660,247,0001,067,0002,117,632expected "99999998898551445 ", got "86414767464444619 "
3Jul 8, 2026 13:04069,260,29760,196,0001,100,0002,117,632expected "99999999264979607 ", got "86414768431344619 "
4Jun 30, 2026 10:427,03567,796,95557,155,0001,242,0002,117,632
5Jun 30, 2026 10:427,08566,517,89457,633,0001,178,0002,117,632
6Jun 30, 2026 10:427,21167,924,53758,750,0001,109,0002,117,632
7Jun 30, 2026 10:427,21667,654,46958,681,0001,220,0002,117,632
8Jun 30, 2026 10:427,22667,938,20158,813,0001,166,0002,117,632
9Jun 30, 2026 10:427,23068,101,78158,848,0001,167,0002,117,632
10Jun 30, 2026 10:427,26067,968,05759,090,0001,172,0002,117,632
11Jun 30, 2026 10:427,29668,301,93159,374,0001,186,0002,117,632
12Jun 30, 2026 10:427,50470,075,84661,104,0001,184,0002,117,632