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 listDec 6, 2025 10:42Rajarshi BasuRajarshi BasuError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 16, 2026 03:22Andrew Epstein21.99CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 16, 2026 04:18070,172,89858,518,0001,094,0002,113,536expected "78687917823033246 ", got "78688148727643482 "
2Oct 16, 2026 04:18064,952,66653,360,0001,044,0002,113,536expected "10921527779767294 ", got "141818477056050117 "
3Oct 16, 2026 04:18064,875,80951,953,0001,040,0002,113,536expected "10927952649509541 ", got "141640729971377757 "
4Dec 6, 2025 10:426,89880,082,67855,247,0002,009,0002,273,280
5Dec 6, 2025 10:426,90079,652,24955,262,0002,009,0002,265,088
6Dec 6, 2025 10:426,91884,270,30156,416,0001,007,0002,289,664
7Dec 6, 2025 10:426,92187,212,44355,428,0002,015,0002,289,664
8Dec 6, 2025 10:426,94085,233,90056,591,0001,010,0002,265,088
9Dec 6, 2025 10:426,94985,365,59457,673,00002,269,184
10Dec 6, 2025 10:426,96687,883,17355,823,0001,993,0002,285,568
11Dec 6, 2025 10:427,02386,475,28356,282,0002,010,0002,519,040
12Dec 6, 2025 10:427,06290,170,50057,604,0001,010,0002,289,664
13Dec 6, 2025 10:427,08488,589,74257,804,000996,0002,269,184
14Dec 6, 2025 10:427,08582,484,70156,811,0001,993,0002,273,280
15Dec 6, 2025 10:427,18487,571,82858,619,0001,010,0002,289,664