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 listFeb 15, 2023 00:17LiamLiamScore: 5,609Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 15, 2023 00:175,58048,840,64414,881,0002,976,0002,285,568
2Feb 15, 2023 00:175,58436,618,44715,885,0001,985,0002,285,568
3Feb 15, 2023 00:175,58637,603,42815,890,0001,986,0002,285,568
4Feb 15, 2023 00:175,60141,439,99914,935,0002,987,0002,293,760
5Feb 15, 2023 00:175,60344,628,46415,938,0001,992,0002,392,064
6Feb 15, 2023 00:175,60540,791,27015,943,0001,992,0002,285,568
7Feb 15, 2023 00:175,60935,427,27615,956,0001,994,0002,293,760
8Feb 15, 2023 00:175,62840,571,34616,010,0002,001,0002,285,568
9Feb 15, 2023 00:175,65941,101,25117,103,0001,006,0002,285,568
10Feb 15, 2023 00:175,74383,921,15218,377,26602,179,072
11Feb 15, 2023 00:175,761109,741,45518,435,14102,195,456
12Feb 15, 2023 00:175,78885,434,07718,520,82002,297,856