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 21, 2025 08:28sheryllynn24sheryllynn24Score: 8,575Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 21, 2025 08:288,17196,583,53965,825,0001,994,0002,289,664
2Sep 21, 2025 08:288,20191,538,95567,068,0001,001,0002,289,664
3Sep 21, 2025 08:288,22096,846,42366,223,0002,006,0002,523,136
4Sep 21, 2025 08:288,575107,434,67168,165,0003,007,0002,289,664
5Sep 21, 2025 08:288,61195,099,85169,455,0002,013,0002,363,392
6Sep 21, 2025 08:288,65397,758,84169,829,0001,995,0002,523,136