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 2, 2025 20:21Jack FrigaardJack FrigaardScore: 4,753Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2025 20:214,67864,398,73535,842,0002,986,0002,449,408
2Aug 2, 2025 20:214,68463,074,80135,886,0002,990,0002,519,040
3Aug 2, 2025 20:214,68565,372,87636,889,0001,994,0002,519,040
4Aug 2, 2025 20:214,68763,476,87936,905,0001,994,0002,449,408
5Aug 2, 2025 20:214,68964,132,18736,922,0001,995,0002,285,568
6Aug 2, 2025 20:214,69261,920,24635,950,0002,995,0002,449,408
7Aug 2, 2025 20:214,70061,147,01837,006,0002,000,0002,519,040
8Aug 2, 2025 20:214,70461,009,78636,037,0003,003,0002,519,040
9Aug 2, 2025 20:214,74361,886,16037,345,0002,018,0002,510,848
10Aug 2, 2025 20:214,75364,042,70739,447,00002,519,040
11Aug 2, 2025 20:214,75763,749,77739,479,00002,457,600
12Aug 2, 2025 20:214,76063,346,16638,498,0001,013,0002,519,040
13Aug 2, 2025 20:214,76163,627,26738,501,0001,013,0002,519,040
14Aug 2, 2025 20:214,76261,521,23538,511,0001,013,0002,519,040
15Aug 2, 2025 20:214,76361,851,31138,519,0001,013,0002,449,408
16Aug 2, 2025 20:214,79864,559,20737,834,0001,991,0002,449,408
17Aug 2, 2025 20:214,80167,128,32236,857,0002,988,0002,441,216
18Aug 2, 2025 20:214,82866,189,40937,068,0003,005,0002,445,312