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 20:49Yuriy LyfenkoYuriy LyfenkoScore: 6,152Success
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 20:496,08345,469,67919,466,00002,330,624
2May 11, 2021 20:496,11245,737,64118,528,0001,029,0002,519,040
3May 11, 2021 20:496,11636,568,07817,510,0002,060,0002,334,720
4May 11, 2021 20:496,12083,046,81619,583,32302,236,416
5May 11, 2021 20:496,14045,874,91417,581,0002,068,0002,519,040
6May 11, 2021 20:496,14146,576,81417,584,0002,068,0002,330,624
7May 11, 2021 20:496,15235,912,51817,615,0002,072,0002,523,136
8May 11, 2021 20:496,16247,012,78418,682,0001,037,0002,330,624
9May 11, 2021 20:496,16437,012,39618,687,0001,038,0002,523,136
10May 11, 2021 20:496,21047,728,61418,879,000993,0002,330,624
11May 11, 2021 20:496,22079,515,33419,902,87502,224,128
12May 11, 2021 20:496,26179,574,83420,035,77102,220,032