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 1, 2025 19:08Rajarshi BasuRajarshi BasuError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 22:39Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 22:40043,758,38831,355,0001,101,0002,113,536expected "62290426447 ", got "84622712048460752 "
2Oct 15, 2026 22:400103,453,85391,193,0001,012,00020,480expected "35948926744572947 ", got "153520904983853502 "
3Oct 15, 2026 22:40075,054,60963,458,0001,014,00020,480expected "13267685504549033 ", got "51140132060502930 "
4Dec 1, 2025 19:0812,436128,158,974100,211,0003,006,0002,371,584
5Dec 1, 2025 19:0812,441126,279,562101,253,0002,005,0002,289,664
6Dec 1, 2025 19:0812,514137,024,503100,874,0002,996,0002,383,872
7Dec 1, 2025 19:0812,515135,701,927102,879,000998,0002,367,488
8Dec 1, 2025 19:0812,525132,924,731101,958,0001,999,0002,289,664
9Dec 1, 2025 19:0812,530136,568,375101,001,0003,000,0002,289,664
10Dec 1, 2025 19:0812,533133,771,247102,024,0002,000,0002,379,776
11Dec 1, 2025 19:0812,544130,076,598102,113,0002,002,0002,379,776
12Dec 1, 2025 19:0812,758133,771,623104,895,000999,0002,285,568