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 listAug 3, 2025 20:00Jack FrigaardJack FrigaardScore: 5,203Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2025 20:004,95062,084,92338,077,0003,006,0002,449,408
2Aug 3, 2025 20:004,95364,770,32438,102,0003,008,0002,519,040
3Aug 3, 2025 20:004,95864,925,07039,143,0002,007,0002,449,408
4Aug 3, 2025 20:004,96062,951,64038,159,0003,012,0002,510,848
5Aug 3, 2025 20:005,00972,180,21340,561,0001,014,0002,449,408
6Aug 3, 2025 20:005,06468,260,93839,026,0003,002,0002,453,504
7Aug 3, 2025 20:005,06564,688,87840,037,0002,001,0002,519,040
8Aug 3, 2025 20:005,07372,231,26340,105,0002,005,0002,519,040
9Aug 3, 2025 20:005,15773,001,13042,805,00002,519,040
10Aug 3, 2025 20:005,20367,443,22640,171,0003,012,0002,449,408
11Aug 3, 2025 20:005,22072,011,63342,316,0001,007,0002,519,040
12Aug 3, 2025 20:005,22767,429,70940,354,0003,026,0002,519,040
13Aug 3, 2025 20:005,22772,638,26040,355,0003,026,0002,519,040
14Aug 3, 2025 20:005,25669,277,25942,613,0001,014,0002,519,040
15Aug 3, 2025 20:005,29465,160,98642,946,000998,0002,297,856
16Aug 3, 2025 20:005,30170,546,06042,001,0002,000,0002,445,312
17Aug 3, 2025 20:005,30569,216,42742,027,0002,001,0002,445,312
18Aug 3, 2025 20:005,31165,810,30041,078,0003,005,0002,519,040