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 1, 2021 18:13Vitaliy F.Vitaliy F.Score: 123,022Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 1, 2021 17:58122,9741,075,616,0831,020,684,50802,207,744
2Jul 1, 2021 17:58122,9821,089,827,6171,020,748,24602,203,648
3Jul 1, 2021 17:58123,0001,086,327,6961,020,897,29002,203,648
4Jul 1, 2021 18:13123,0221,086,485,1941,021,082,62602,207,744
5Jul 1, 2021 18:13123,0381,103,408,3291,021,213,88702,215,936
6Jul 1, 2021 18:13123,0521,075,475,3931,021,330,44602,207,744