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 2, 2021 14:15Vitaliy F.Vitaliy F.Score: 63,500Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 2, 2021 14:3763,491613,224,556526,973,81502,199,552
2Jul 2, 2021 14:1563,499607,281,115527,045,56302,187,264
3Jul 2, 2021 14:1563,500600,524,208527,051,96402,199,552
4Jul 2, 2021 14:3763,500591,152,208527,049,41902,207,744
5Jul 2, 2021 14:3763,505594,627,754527,090,86802,211,840
6Jul 2, 2021 14:1563,570587,946,147527,626,98402,199,552