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 listOct 17, 2024 02:49Serge SmirnovSerge SmirnovScore: 31,098Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 17, 2024 02:4831,091281,354,481256,057,0002,000,0002,293,760
2Oct 17, 2024 02:4931,093285,420,990257,072,0001,000,0002,519,040
3Oct 17, 2024 02:4831,096284,474,979257,093,0001,000,0002,293,760
4Oct 17, 2024 02:4931,098280,800,291257,113,0001,000,0002,519,040
5Oct 17, 2024 02:4831,124278,766,547257,326,0001,001,0002,531,328
6Oct 17, 2024 02:4931,124282,684,205256,325,0002,002,0002,527,232