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 listApr 14, 2024 10:34E SequeiraE SequeiraScore: 19,357Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 14, 2024 10:4819,153219,156,610158,965,78002,224,128
2Apr 14, 2024 10:3419,187227,146,984159,248,10802,236,416
3Apr 14, 2024 10:3419,218232,740,955159,508,04902,224,128
4Apr 14, 2024 10:3419,357223,518,867160,659,49802,228,224
5Apr 14, 2024 10:4819,357220,971,410160,665,16002,232,320
6Apr 14, 2024 10:4819,359214,510,827160,679,68402,232,320