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 9, 2021 20:13Prisyazhnyuk AlexanderPrisyazhnyuk AlexanderScore: 92,589Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 9, 2021 20:1392,559832,322,618768,237,04502,211,840
2Jul 9, 2021 20:1392,562823,490,080768,263,07102,228,224
3Jul 9, 2021 20:1392,588833,879,982768,478,86102,211,840
4Jul 9, 2021 20:1392,589832,217,319768,488,96202,215,936
5Jul 9, 2021 20:1392,589820,961,754768,491,24102,224,128
6Jul 9, 2021 20:1392,589820,385,375768,487,74202,224,128