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 16, 2026 02:15mgildermgilderScore: 379,390Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2026 02:15378,1593,162,837,9913,079,743,00058,975,0002,281,472
2Mar 16, 2026 02:15378,5393,169,895,0193,075,921,00065,955,0002,281,472
3Mar 16, 2026 02:15378,5953,169,933,3743,074,378,00067,964,0002,281,472
4Mar 16, 2026 02:15378,7733,175,241,0873,079,863,00063,955,0002,281,472
5Mar 16, 2026 02:15378,9543,171,282,7993,084,352,00060,967,0002,281,472
6Mar 16, 2026 02:15379,0583,169,306,2013,068,229,00077,955,0002,289,664
7Mar 16, 2026 02:15379,0983,172,713,1863,075,547,00070,966,0002,359,296
8Mar 16, 2026 02:15379,2503,174,027,3963,090,796,00056,977,0002,285,568
9Mar 16, 2026 02:15379,2813,175,934,3503,087,053,00060,981,0002,281,472
10Mar 16, 2026 02:15379,3903,177,311,9633,078,981,00069,954,0002,285,568
11Mar 16, 2026 02:15379,7763,183,110,5103,098,176,00053,968,0002,281,472
12Mar 16, 2026 02:15380,5923,187,726,4563,113,942,00044,970,0002,289,664
13Mar 16, 2026 02:15380,8203,186,131,3953,105,824,00054,979,0002,285,568
14Mar 16, 2026 02:15381,4303,189,728,9033,080,930,00084,942,0002,285,568
15Mar 16, 2026 02:15382,5403,199,667,9243,097,131,00077,952,0002,285,568
16Mar 16, 2026 02:15383,3693,212,255,8593,124,980,00056,981,0002,281,472
17Mar 16, 2026 02:15383,6293,208,493,6773,112,162,00071,957,0002,285,568
18Mar 16, 2026 02:15383,9203,217,233,4213,123,564,00062,971,0002,285,568