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 listFeb 27, 2024 03:26Ryan Chung Yi ShengRyan Chung Yi ShengScore: 55,868Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 28, 2024 05:5255,837527,688,445463,447,04002,293,760
2Feb 27, 2024 03:2655,860527,763,402463,639,29202,297,856
3Feb 28, 2024 05:5255,863522,632,650463,665,62202,297,856
4Feb 28, 2024 05:5255,868518,405,616463,707,77102,289,664
5Feb 27, 2024 03:2655,871520,782,878463,732,03302,297,856
6Feb 27, 2024 03:2655,896531,278,195463,938,11602,289,664