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 11, 2026 20:45Daniel MastalerzDaniel MastalerzScore: 5,348Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 11, 2026 20:435,22966,915,03740,376,0003,028,0002,285,568
2Mar 11, 2026 20:455,23570,579,91041,431,0002,021,0002,285,568
3Mar 11, 2026 20:435,28270,462,49541,845,0001,992,0002,416,640
4Mar 11, 2026 20:455,28277,128,73741,850,0001,992,0002,285,568
5Mar 11, 2026 20:455,29364,640,43440,938,0002,995,0002,285,568
6Mar 11, 2026 20:455,29574,464,92640,953,0002,996,0002,285,568
7Mar 11, 2026 20:455,31167,318,15941,078,0003,005,0002,285,568
8Mar 11, 2026 20:435,31366,494,38042,098,0002,004,0002,285,568
9Mar 11, 2026 20:455,32772,212,57741,196,0003,014,0002,285,568
10Mar 11, 2026 20:435,33072,766,53041,225,0003,016,0002,412,544
11Mar 11, 2026 20:435,33166,594,88941,233,0003,017,0002,289,664
12Mar 11, 2026 20:455,34570,099,61641,338,0003,024,0002,285,568
13Mar 11, 2026 20:455,34869,907,76842,368,0002,017,0002,416,640
14Mar 11, 2026 20:435,38676,943,64143,689,0001,016,0002,285,568
15Mar 11, 2026 20:435,39867,705,45342,813,0001,991,0002,260,992
16Mar 11, 2026 20:455,39970,358,15141,826,0002,987,0002,416,640
17Mar 11, 2026 20:435,50470,930,60243,654,0002,030,0002,424,832
18Mar 11, 2026 20:435,50875,883,28443,686,0002,031,0002,285,568
19Mar 11, 2026 20:435,51971,536,66142,817,0002,987,0002,285,568
20Mar 11, 2026 20:435,52075,382,73742,829,0002,988,0002,416,640
21Mar 11, 2026 20:435,52070,226,10142,825,0002,987,0002,285,568
22Mar 11, 2026 20:455,52671,809,03943,868,0001,994,0002,404,352
23Mar 11, 2026 20:455,61277,353,19344,557,0002,025,0002,285,568
24Mar 11, 2026 20:455,62473,477,71144,649,0002,029,0002,285,568