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 4, 2023 14:53Erdem KeskinErdem KeskinScore: 83,898Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2023 12:5383,867749,709,098696,096,10202,228,224
2Jul 3, 2023 13:0083,870752,121,350696,119,96302,224,128
3Jul 3, 2023 13:1683,872751,303,299696,140,22802,228,224
4Jul 4, 2023 14:1183,883770,252,739696,227,97602,236,416
5Jul 3, 2023 13:0083,886758,487,429696,251,94602,232,320
6Jul 3, 2023 13:1683,893764,950,659696,315,66602,240,512
7Jul 3, 2023 13:0083,894754,409,453696,316,59202,232,320
8Jul 4, 2023 14:5383,898763,690,944696,356,16302,240,512
9Jul 4, 2023 14:1183,905761,377,222696,408,15802,228,224
10Jul 3, 2023 12:5383,906758,124,252696,423,30602,240,512
11Jul 3, 2023 12:5383,921759,639,908696,540,93002,232,320
12Jul 4, 2023 14:1183,933760,709,346696,643,60502,236,416
13Jul 4, 2023 14:5383,943758,781,764696,724,36702,240,512
14Jul 3, 2023 13:1684,025755,837,027697,410,97602,240,512
15Jul 4, 2023 14:5384,074750,521,932697,814,12402,236,416