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 25, 2021 18:28Yuriy LyfenkoYuriy LyfenkoScore: 5,147Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 18:285,08541,855,45415,255,0001,017,0002,396,160
2May 25, 2021 18:285,09333,741,17715,280,0001,018,0002,265,088
3May 25, 2021 18:285,10333,068,63115,308,0001,020,0002,392,064
4May 25, 2021 18:285,10342,993,08315,309,0001,020,0002,265,088
5May 25, 2021 18:285,10736,002,63915,321,0001,021,0002,265,088
6May 25, 2021 18:285,11338,314,83915,339,0001,022,0002,527,232
7May 25, 2021 18:285,14738,641,96916,469,00002,387,968
8May 25, 2021 18:285,14935,817,51416,477,00002,265,088
9May 25, 2021 18:285,16042,885,30915,481,0001,032,0002,265,088
10May 25, 2021 18:285,29459,728,22616,939,61202,277,376
11May 25, 2021 18:285,38551,915,12817,230,96602,277,376
12May 25, 2021 18:285,95582,440,25519,054,48702,285,568