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:42Prisyazhnyuk AlexanderPrisyazhnyuk AlexanderScore: 271,598Success
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:46270,7648,199,266,4742,247,339,50502,248,704
2Jul 8, 2021 17:42271,4217,835,203,2152,252,797,16002,228,224
3Jul 8, 2021 17:46271,5857,943,208,8842,254,159,55202,281,472
4Jul 8, 2021 17:42271,5988,132,889,2062,254,260,54802,256,896
5Jul 8, 2021 17:46272,0117,926,436,9782,257,689,98302,318,336
6Jul 8, 2021 17:42273,2608,113,398,2102,268,059,21002,306,048