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 19:53Jack FrigaardJack FrigaardScore: 5,044Success
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 19:535,04066,686,02039,839,0001,991,0002,514,944
2Aug 3, 2025 19:535,04068,851,39539,844,0001,992,0002,519,040
3Aug 3, 2025 19:535,04070,197,21739,843,0001,992,0002,519,040
4Aug 3, 2025 19:535,04169,984,02138,856,0002,988,0002,514,944
5Aug 3, 2025 19:535,04168,052,27540,845,000996,0002,449,408
6Aug 3, 2025 19:535,04264,735,30540,827,0001,020,0002,519,040
7Aug 3, 2025 19:535,04269,296,06039,854,0001,992,0002,449,408
8Aug 3, 2025 19:535,04273,482,08040,854,000996,0002,441,216
9Aug 3, 2025 19:535,04465,827,05439,871,0001,993,0002,437,120
10Aug 3, 2025 19:535,04468,025,31240,867,000996,0002,445,312
11Aug 3, 2025 19:535,04764,351,62539,894,0001,994,0002,519,040
12Aug 3, 2025 19:535,04865,155,49338,905,0002,992,0002,514,944
13Aug 3, 2025 19:535,04866,765,66139,903,0001,995,0002,519,040
14Aug 3, 2025 19:535,04965,024,25638,911,0002,993,0002,449,408
15Aug 3, 2025 19:535,05268,266,36639,934,0001,996,0002,514,944
16Aug 3, 2025 19:535,05665,337,92539,963,0001,998,0002,273,280
17Aug 3, 2025 19:535,09372,261,22441,267,0001,006,0002,514,944
18Aug 3, 2025 19:535,09973,266,38540,304,0002,015,0002,453,504