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 18, 2026 17:57Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 01:58Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 01:58044,312,27935,149,0001,221,0002,117,632expected "74600294196621100 ", got "14969816034029356 "
2Jul 7, 2026 01:58044,184,71235,106,0001,193,0002,117,632expected "74600294196621100 ", got "15171594096246872 "
3Jul 7, 2026 01:58044,210,39435,126,0001,181,0002,117,632expected "74600294196621100 ", got "16895846256258860 "
4Mar 18, 2026 17:544,51859,700,01236,486,0001,013,0002,531,328
5Mar 18, 2026 17:544,52160,691,25936,511,0001,014,0002,531,328
6Mar 18, 2026 17:544,52469,376,58436,536,0001,014,0002,531,328
7Mar 18, 2026 18:434,52666,551,49436,551,0001,015,0002,531,328
8Mar 18, 2026 17:544,52767,408,31836,563,0001,015,0002,469,888
9Mar 18, 2026 18:044,52769,311,66036,558,0001,015,0002,531,328
10Mar 18, 2026 17:544,53064,331,53136,584,0001,016,0002,531,328
11Mar 18, 2026 17:544,53172,413,90536,591,0001,016,0002,531,328
12Mar 18, 2026 17:574,53163,059,88336,592,0001,016,0002,473,984
13Mar 18, 2026 18:434,53464,671,36336,619,0001,017,0002,478,080
14Mar 18, 2026 17:574,53563,013,54936,622,0001,017,0002,465,792
15Mar 18, 2026 18:044,53663,758,14536,633,0001,017,0002,469,888
16Mar 18, 2026 17:544,53663,399,93636,632,0001,017,0002,465,792
17Mar 18, 2026 17:544,57862,297,51635,996,0001,999,0002,531,328
18Mar 18, 2026 17:544,64559,841,41737,537,0001,014,0002,306,048
19Mar 18, 2026 17:574,65460,291,38337,614,0001,016,0002,473,984
20Mar 18, 2026 18:044,66163,510,21337,669,0001,018,0002,469,888
21Mar 18, 2026 18:044,67762,440,30936,827,0001,990,0002,531,328
22Mar 18, 2026 18:044,67863,415,51836,839,0001,991,0002,531,328
23Mar 18, 2026 17:574,67860,629,06436,837,0001,991,0002,531,328
24Mar 18, 2026 17:574,67969,788,78637,841,000995,0002,461,696
25Mar 18, 2026 18:434,67963,962,62636,843,0001,991,0002,531,328
26Mar 18, 2026 17:574,68064,350,78936,851,0001,991,0002,531,328
27Mar 18, 2026 18:044,72164,551,51037,176,0002,009,0002,297,856