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:14Jack FrigaardJack FrigaardScore: 4,823Success
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:134,74665,836,67637,375,0002,020,0002,453,504
2Aug 2, 2025 20:144,74761,566,77737,381,0002,020,0002,445,312
3Aug 2, 2025 20:134,74965,198,76536,388,0003,032,0002,449,408
4Aug 2, 2025 20:144,75160,830,89936,403,0003,033,0002,449,408
5Aug 2, 2025 20:144,75266,538,55237,422,0002,022,0002,519,040
6Aug 2, 2025 20:134,75462,745,24636,420,0003,035,0002,269,184
7Aug 2, 2025 20:144,75763,007,80337,455,0002,024,0002,445,312
8Aug 2, 2025 20:144,76165,639,16337,487,0002,026,0002,445,312
9Aug 2, 2025 20:144,82367,087,05537,032,0003,002,0002,453,504
10Aug 2, 2025 20:134,82365,037,00238,031,0002,001,0002,519,040
11Aug 2, 2025 20:144,82765,783,60338,062,0002,003,0002,519,040
12Aug 2, 2025 20:134,82963,848,55738,078,0002,004,0002,519,040
13Aug 2, 2025 20:144,83163,996,58139,095,0001,002,0002,441,216
14Aug 2, 2025 20:144,83362,977,14639,109,0001,002,0002,441,216
15Aug 2, 2025 20:144,83566,772,84037,120,0003,009,0002,519,040
16Aug 2, 2025 20:144,83866,310,51837,144,0003,011,0002,449,408
17Aug 2, 2025 20:134,84062,555,44737,159,0003,012,0002,519,040
18Aug 2, 2025 20:144,85661,213,77837,281,0003,022,0002,293,760