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 11, 2021 15:50Andrey TsvetkovAndrey TsvetkovScore: 6,173Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 15:506,12946,289,69517,548,0002,064,0002,527,232
2May 11, 2021 15:506,13946,746,07319,644,00002,326,528
3May 11, 2021 15:506,14242,770,56216,552,0003,103,0002,523,136
4May 11, 2021 15:506,15248,846,00919,685,00002,326,528
5May 11, 2021 15:506,15348,773,29418,653,0001,036,0002,519,040
6May 11, 2021 15:506,16450,433,28419,724,00002,326,528
7May 11, 2021 15:506,17385,653,21019,753,53302,240,512
8May 11, 2021 15:506,19948,110,96718,847,000991,0002,326,528
9May 11, 2021 15:506,20242,575,31717,861,0001,984,0002,326,528
10May 11, 2021 15:506,20945,520,17418,877,000993,0002,326,528
11May 11, 2021 15:506,23387,384,44219,944,90702,224,128
12May 11, 2021 15:506,23984,508,40919,963,67202,228,224