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 30, 2021 17:07Yuriy LyfenkoYuriy LyfenkoScore: 5,172Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 17:075,12747,704,29414,356,0002,050,0002,281,472
2May 30, 2021 17:075,13545,989,94816,431,00002,281,472
3May 30, 2021 17:075,13943,627,30814,512,0001,934,0002,281,472
4May 30, 2021 17:075,14643,524,37014,531,0001,937,0002,281,472
5May 30, 2021 17:075,15444,738,34412,958,0003,534,0002,396,160
6May 30, 2021 17:075,15945,120,67116,510,00002,281,472
7May 30, 2021 17:075,17243,392,29316,549,00002,519,040
8May 30, 2021 17:075,17949,213,14116,574,00002,281,472
9May 30, 2021 17:075,18552,692,21816,592,00002,281,472
10May 30, 2021 17:075,35978,461,14317,149,14902,293,760
11May 30, 2021 17:075,40698,130,12717,297,74402,252,800
12May 30, 2021 17:075,42595,355,08717,361,34502,285,568