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 10, 2026 21:46Daniel MastalerzDaniel MastalerzScore: 5,432Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 10, 2026 21:465,35562,611,55442,430,0002,020,0002,412,544
2Mar 10, 2026 21:465,35766,994,96742,444,0002,021,0002,285,568
3Mar 10, 2026 21:465,36068,756,33542,465,0002,022,0002,285,568
4Mar 10, 2026 21:465,36872,886,04043,542,0001,012,0002,428,928
5Mar 10, 2026 21:465,37075,980,55942,544,0002,025,0002,420,736
6Mar 10, 2026 21:465,37776,363,41242,605,0002,028,0002,285,568
7Mar 10, 2026 21:465,38070,863,72843,639,0001,014,0002,412,544
8Mar 10, 2026 21:465,38075,514,18641,681,0002,977,0002,285,568
9Mar 10, 2026 21:465,41567,225,50342,948,0001,997,0002,277,376
10Mar 10, 2026 21:465,42578,932,71142,028,0003,002,0002,289,664
11Mar 10, 2026 21:465,43268,005,87942,082,0003,005,0002,285,568
12Mar 10, 2026 21:465,43570,885,99142,103,0003,007,0002,285,568
13Mar 10, 2026 21:465,45669,581,69043,274,0002,012,0002,289,664
14Mar 10, 2026 21:465,46068,686,04443,305,0002,014,0002,408,448
15Mar 10, 2026 21:465,46970,218,70244,387,0001,008,0002,285,568
16Mar 10, 2026 21:465,47272,785,00043,398,0002,018,0002,289,664
17Mar 10, 2026 21:465,48275,646,74444,490,0001,011,0002,285,568
18Mar 10, 2026 21:465,48569,141,19543,503,0002,023,0002,502,656
19Mar 10, 2026 21:465,49272,529,11144,572,0001,013,0002,412,544
20Mar 10, 2026 21:465,52171,520,59042,839,0002,988,0002,404,352
21Mar 10, 2026 21:465,54872,349,26344,045,0002,002,0002,285,568