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 listOct 30, 2025 05:29Mike TruMike TruScore: 357,617Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2025 05:28354,8452,974,844,6702,828,362,000116,849,0002,473,984
2Oct 30, 2025 05:28356,6072,993,437,5552,848,959,000110,881,0002,351,104
3Oct 30, 2025 05:29356,7742,983,260,1912,849,330,000111,895,0002,351,104
4Oct 30, 2025 05:28357,0512,990,936,0692,874,600,00088,925,0002,351,104
5Oct 30, 2025 05:28357,2722,994,045,0712,840,466,000124,888,0002,498,560
6Oct 30, 2025 05:28357,3212,994,597,1452,864,878,000100,890,0002,351,104
7Oct 30, 2025 05:28357,6172,999,843,6962,859,323,000108,898,0002,482,176
8Oct 30, 2025 05:28357,8183,000,998,5062,838,030,000131,862,0002,351,104
9Oct 30, 2025 05:29358,5323,004,125,1842,860,937,000114,877,0002,498,560
10Oct 30, 2025 05:29358,9103,013,300,4352,869,067,000109,887,0002,351,104
11Oct 30, 2025 05:28359,0923,011,531,1652,894,539,00085,926,0002,351,104
12Oct 30, 2025 05:28367,2643,075,594,4932,944,384,000103,907,0002,498,560