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 listAug 20, 2023 02:13sliceteamsliceteamScore: 8,773Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2023 02:138,679125,772,42972,033,60402,265,088
2Aug 20, 2023 02:138,698144,183,06872,190,23002,265,088
3Aug 20, 2023 02:138,721136,540,73672,387,01402,285,568
4Aug 20, 2023 02:138,74695,796,77772,589,00002,379,776
5Aug 20, 2023 02:138,77098,996,68670,795,0001,994,0002,387,968
6Aug 20, 2023 02:138,77099,837,92771,790,000997,0002,383,872
7Aug 20, 2023 02:138,77299,714,74070,812,0001,994,0002,523,136
8Aug 20, 2023 02:138,77397,162,07370,823,0001,995,0002,383,872
9Aug 20, 2023 02:138,774105,116,65772,822,00002,523,136
10Aug 20, 2023 02:138,785103,965,56471,917,000998,0002,260,992
11Aug 20, 2023 02:138,79197,772,87170,969,0001,999,0002,387,968
12Aug 20, 2023 02:138,839103,869,45972,359,0001,004,0002,260,992
13Aug 20, 2023 02:138,85696,965,94373,503,00002,260,992
14Aug 20, 2023 02:138,89099,829,99471,791,0001,994,0002,387,968
15Aug 20, 2023 02:138,964101,769,88774,402,00002,392,064