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 listMar 29, 2026 10:37Danylo MocherniukDanylo MocherniukError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 22:35Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 22:350160,974,777142,635,0007,416,00020,480expected "78687719246302445 ", got "78687720315800318 "
2Oct 15, 2026 22:350406,129,100387,763,0007,515,00020,480expected "10922262413079843 ", got "34627335433869623 "
3Oct 15, 2026 22:350476,425,843453,856,00011,872,00020,480expected "36588924389724294 ", got "43461662233621808 "
4Mar 29, 2026 10:3735,579320,755,112294,305,0001,001,0002,281,472
5Mar 29, 2026 10:3735,601321,397,286294,490,0001,001,0002,281,472
6Mar 29, 2026 10:3735,609323,601,533294,550,0001,001,0002,289,664
7Mar 29, 2026 10:3735,616323,812,931293,619,0001,997,0002,506,752
8Mar 29, 2026 10:3735,642319,932,608293,830,0001,998,0002,281,472
9Mar 29, 2026 10:3735,649321,273,812292,888,0002,998,0002,281,472
10Mar 29, 2026 10:3735,658322,181,956293,960,0001,999,0002,281,472
11Mar 29, 2026 10:3735,662317,609,861292,994,0002,999,0002,289,664
12Mar 29, 2026 10:3735,664320,533,106294,009,0002,000,0002,281,472
13Mar 29, 2026 10:3735,674318,899,804294,094,0002,000,0002,289,664
14Mar 29, 2026 10:3735,677318,942,043293,118,0003,001,0002,338,816
15Mar 29, 2026 10:3735,679325,807,925294,139,0002,000,0002,281,472
16Mar 29, 2026 10:3735,686324,449,346293,190,0003,001,0002,281,472
17Mar 29, 2026 10:3735,686317,696,680293,194,0003,001,0002,281,472
18Mar 29, 2026 10:3735,688320,785,495293,208,0003,002,0002,281,472
19Mar 29, 2026 10:3735,698319,479,323295,292,0001,000,0002,281,472
20Mar 29, 2026 10:3735,706320,107,581295,362,0001,001,0002,510,848
21Mar 29, 2026 10:3735,740328,822,159293,647,0002,996,0002,506,752