Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listMay 24, 2021 13:43Dmitry DolgopolovDmitry DolgopolovScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 13:485,52947,902,81817,694,00002,265,088
2May 24, 2021 13:485,53134,473,83717,698,00002,265,088
3May 24, 2021 13:435,53242,637,04016,662,0001,041,0002,383,872
4May 24, 2021 13:485,53649,992,24816,673,0001,042,0002,265,088
5May 24, 2021 13:435,54047,261,04117,729,00002,265,088
6May 24, 2021 13:485,58140,444,10115,876,0001,984,0002,383,872
7May 24, 2021 13:485,58143,963,25215,876,0001,984,0002,396,160
8May 24, 2021 13:435,58242,821,94316,871,000992,0002,265,088
9May 24, 2021 13:485,58247,890,72016,869,000992,0002,265,088
10May 24, 2021 13:435,58344,289,12116,875,000992,0002,383,872
11May 24, 2021 13:435,58449,979,88817,870,00002,265,088
12May 24, 2021 13:435,58644,872,28116,882,000993,0002,265,088
13May 24, 2021 13:435,58842,221,18215,894,0001,986,0002,265,088
14May 24, 2021 13:485,59140,230,60615,903,0001,987,0002,265,088
15May 24, 2021 13:485,59133,882,43417,890,00002,265,088
16May 24, 2021 13:435,59249,471,60215,906,0001,988,0002,265,088
17May 24, 2021 13:485,59542,019,51416,909,000994,0002,510,848
18May 24, 2021 13:435,59743,292,74116,915,000995,0002,265,088
19May 24, 2021 13:485,73988,945,84318,363,35902,289,664
20May 24, 2021 13:435,75185,294,45418,404,45602,293,760
21May 24, 2021 13:485,76777,538,11718,455,65802,285,568
22May 24, 2021 13:435,79388,508,20618,538,02402,273,280
23May 24, 2021 13:485,79479,835,09118,542,07102,289,664
24May 24, 2021 13:435,79882,269,29618,553,43702,285,568