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 listAug 2, 2025 20:11Jack FrigaardJack FrigaardError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 03:15Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 03:15046,848,34535,529,0001,062,0002,113,536expected "74600294196621100 ", got "74611622761093492 "
2Jul 7, 2026 03:15046,803,34935,501,0001,038,0002,113,536expected "74600294196621100 ", got "74604413722185303 "
3Jul 7, 2026 03:154,44246,541,11135,848,0001,024,0002,113,536
4Aug 2, 2025 20:104,63960,853,96936,480,0002,026,0002,437,120
5Aug 2, 2025 20:114,64764,823,34936,543,0002,030,0002,453,504
6Aug 2, 2025 20:114,64869,328,06436,550,0002,030,0002,445,312
7Aug 2, 2025 20:104,65065,702,56337,576,0001,015,0002,519,040
8Aug 2, 2025 20:114,65365,594,91436,591,0002,032,0002,519,040
9Aug 2, 2025 20:104,65763,785,84536,616,0002,034,0002,449,408
10Aug 2, 2025 20:104,67766,618,72637,820,000995,0002,510,848
11Aug 2, 2025 20:104,68073,641,45736,851,0001,991,0002,453,504
12Aug 2, 2025 20:104,69361,610,71935,953,0002,996,0002,510,848
13Aug 2, 2025 20:104,71462,124,08136,114,0003,009,0002,519,040
14Aug 2, 2025 20:104,71971,645,59836,158,0003,013,0002,445,312
15Aug 2, 2025 20:104,72161,749,25537,177,0002,009,0002,519,040
16Aug 2, 2025 20:104,72464,203,09536,196,0003,016,0002,519,040
17Aug 2, 2025 20:114,72765,496,65436,215,0003,017,0002,519,040
18Aug 2, 2025 20:114,72860,538,42937,231,0002,012,0002,519,040
19Aug 2, 2025 20:114,73368,416,38636,265,0003,022,0002,437,120
20Aug 2, 2025 20:104,73764,246,63336,293,0003,024,0002,445,312
21Aug 2, 2025 20:104,79772,711,14837,822,0001,990,0002,457,600