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:56Jack FrigaardJack FrigaardScore: 5,049Success
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:565,04369,742,45439,862,0001,993,0002,519,040
2Aug 3, 2025 19:565,04466,713,10340,847,0001,021,0002,519,040
3Aug 3, 2025 19:565,04768,855,21438,901,0002,992,0002,510,848
4Aug 3, 2025 19:565,04966,991,52238,913,0002,993,0002,519,040
5Aug 3, 2025 19:565,06864,250,89239,062,0003,004,0002,445,312
6Aug 3, 2025 19:565,08266,984,20239,167,0003,012,0002,519,040