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 8, 2021 17:47Prisyazhnyuk AlexanderPrisyazhnyuk AlexanderScore: 141,725Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 17:47140,7581,227,242,0341,168,293,51402,179,072
2Jul 8, 2021 17:48141,0971,238,066,9481,171,102,61902,301,952
3Jul 8, 2021 17:48141,3541,237,777,0701,173,236,79402,301,952
4Jul 8, 2021 17:48141,7251,243,093,2591,176,313,86202,187,264
5Jul 8, 2021 17:47142,1111,231,552,4901,179,523,18902,179,072
6Jul 8, 2021 17:47142,5371,248,257,6591,183,057,93402,306,048