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 13, 2023 04:49Aaron LoviAaron LoviScore: 52,348Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2023 13:5852,307510,152,565434,150,86202,289,664
2Apr 13, 2023 05:0152,328505,723,447434,322,49202,256,896
3Apr 13, 2023 04:4952,339489,349,895434,410,56502,293,760
4Apr 13, 2023 05:0152,343515,164,264434,443,87502,289,664
5Apr 18, 2023 02:0852,344490,374,717434,451,22602,281,472
6Apr 18, 2023 02:0852,345512,960,279434,465,57302,285,568
7Apr 13, 2023 13:5852,347504,063,285434,483,88302,285,568
8Apr 13, 2023 04:5052,348499,154,992434,488,72902,281,472
9Apr 13, 2023 04:5052,348513,741,059434,491,20402,281,472
10Apr 13, 2023 04:4952,350499,127,728434,505,03702,277,376
11Apr 13, 2023 04:4952,352484,469,237434,521,73602,289,664
12Apr 18, 2023 02:0852,352496,370,736434,524,65202,285,568
13Apr 13, 2023 05:0152,358505,870,376434,569,20002,281,472
14Apr 13, 2023 13:5852,367490,823,426434,646,44202,281,472
15Apr 13, 2023 04:5052,378497,524,056434,741,17502,289,664