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 listJul 29, 2024 20:26Павел РатмановПавел РатмановScore: 50,838Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 19:5350,706479,533,948420,860,34702,187,264
2Jul 29, 2024 20:1450,738475,087,736421,125,80702,183,168
3Jul 29, 2024 20:1450,783479,196,684421,497,10502,187,264
4Jul 29, 2024 19:5350,822480,933,810421,820,73402,183,168
5Jul 29, 2024 20:1450,838477,326,573421,954,90602,183,168
6Jul 29, 2024 19:5350,941496,548,985422,812,28002,310,144
7Jul 29, 2024 20:2662,937580,558,232522,373,58102,310,144
8Jul 29, 2024 20:2662,990597,182,133522,816,15802,179,072
9Jul 29, 2024 20:2663,066586,428,408523,447,17402,293,760