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 listSep 27, 2025 07:06sheryllynn24sheryllynn24Score: 6,666Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 27, 2025 07:066,54379,739,64252,299,0002,011,0002,289,664
2Sep 27, 2025 07:066,60579,575,53352,827,0001,993,0002,289,664
3Sep 27, 2025 07:066,61181,090,39053,876,000997,0002,523,136
4Sep 27, 2025 07:066,66679,066,34054,323,0001,005,0002,285,568
5Sep 27, 2025 07:066,66881,308,82953,329,0002,012,0002,269,184
6Sep 27, 2025 07:066,67180,585,88453,358,0002,013,0002,289,664