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 listDec 6, 2025 16:30Rajarshi BasuRajarshi BasuScore: 6,008Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2025 16:295,86278,367,93546,625,0002,027,0002,531,328
2Dec 6, 2025 16:305,87974,909,71046,806,0001,991,0002,289,664
3Dec 6, 2025 16:295,88974,331,61946,881,0001,994,0002,273,280
4Dec 6, 2025 16:305,89874,610,78845,956,0002,997,0002,281,472
5Dec 6, 2025 16:295,90571,076,85846,010,0003,000,0002,269,184
6Dec 6, 2025 16:295,90669,625,33148,020,0001,000,0002,387,968
7Dec 6, 2025 16:295,90775,948,75948,024,0001,000,0002,289,664
8Dec 6, 2025 16:295,92173,176,94646,139,0003,009,0002,281,472
9Dec 6, 2025 16:296,00477,646,82347,837,0001,993,0002,273,280
10Dec 6, 2025 16:306,00873,048,04746,877,0002,992,0002,289,664
11Dec 6, 2025 16:306,01472,972,85547,920,0001,996,0002,289,664
12Dec 6, 2025 16:296,02971,530,13747,037,0003,002,0002,289,664
13Dec 6, 2025 16:296,03676,486,73448,093,0002,003,0002,289,664
14Dec 6, 2025 16:296,03871,892,40848,109,0002,004,0002,289,664
15Dec 6, 2025 16:296,04877,122,64247,189,0003,012,0002,289,664
16Dec 6, 2025 16:296,08672,508,47549,500,0001,010,0002,269,184
17Dec 6, 2025 16:306,12178,869,34148,815,0001,992,0002,289,664
18Dec 6, 2025 16:306,12480,495,80448,839,0001,993,0002,269,184