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:26Jack FrigaardJack FrigaardScore: 4,735Success
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:264,67668,048,00635,826,0002,985,0002,441,216
2Aug 2, 2025 20:264,67769,021,82835,831,0002,985,0002,445,312
3Aug 2, 2025 20:264,67961,982,52337,817,0001,022,0002,449,408
4Aug 2, 2025 20:264,68164,917,01336,810,0002,045,0002,519,040
5Aug 2, 2025 20:264,68363,778,23235,877,0002,989,0002,519,040
6Aug 2, 2025 20:264,68762,774,59436,908,0001,995,0002,519,040
7Aug 2, 2025 20:264,69063,534,33935,933,0002,994,0002,453,504
8Aug 2, 2025 20:264,69663,012,33235,981,0002,998,0002,441,216
9Aug 2, 2025 20:264,70062,313,46736,013,0003,001,0002,433,024
10Aug 2, 2025 20:264,73562,269,14138,295,0001,007,0002,519,040
11Aug 2, 2025 20:264,75263,760,28738,428,0001,011,0002,445,312
12Aug 2, 2025 20:264,75760,660,60039,487,00002,445,312
13Aug 2, 2025 20:264,75869,093,57639,494,00002,519,040
14Aug 2, 2025 20:264,75963,367,23937,475,0002,025,0002,519,040
15Aug 2, 2025 20:264,76066,008,78639,504,00002,449,408
16Aug 2, 2025 20:264,76261,440,00837,500,0002,027,0002,449,408
17Aug 2, 2025 20:264,76266,547,58537,498,0002,026,0002,453,504
18Aug 2, 2025 20:264,77866,354,95137,621,0002,033,0002,519,040