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 listJan 2, 2023 22:03Jack FrigaardJack FrigaardScore: 4,824Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 22:034,77933,693,87214,274,0001,019,0002,289,664
2Jan 2, 2023 22:034,79140,044,12613,286,0002,044,0002,289,664
3Jan 2, 2023 22:034,79334,926,06015,339,00002,285,568
4Jan 2, 2023 22:034,80532,816,51414,352,0001,025,0002,289,664
5Jan 2, 2023 22:034,80736,628,88915,383,00002,285,568
6Jan 2, 2023 22:034,80942,148,20615,388,00002,531,328
7Jan 2, 2023 22:034,82431,972,61914,408,0001,029,0002,289,664
8Jan 2, 2023 22:034,83938,805,73014,453,0001,032,0002,289,664
9Jan 2, 2023 22:034,88532,128,34014,589,0001,042,0002,351,104
10Jan 2, 2023 22:035,04995,872,62916,157,62502,297,856
11Jan 2, 2023 22:035,06577,972,74216,206,88602,297,856
12Jan 2, 2023 22:035,10295,699,60916,326,53602,297,856