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 listJun 30, 2021 02:05xxScore: 84,628Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2021 02:0684,602763,110,092702,196,14002,281,472
2Jun 30, 2021 02:0584,607771,159,929702,238,46602,293,760
3Jun 30, 2021 02:0684,610755,392,058702,260,00802,289,664
4Jun 30, 2021 19:3184,615774,520,773702,305,70702,289,664
5Jun 30, 2021 19:3184,628765,907,432702,413,94002,285,568
6Jun 30, 2021 02:0684,629759,797,803702,419,98802,293,760
7Jun 30, 2021 19:3184,638759,618,921702,491,60402,281,472
8Jun 30, 2021 02:0584,643762,699,758702,539,15002,277,376
9Jun 30, 2021 02:0584,650765,124,477702,594,41802,293,760