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 15, 2021 22:19Yuriy LyfenkoYuriy LyfenkoScore: 15,843Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 22:1915,831122,138,62050,659,57202,285,568
2May 15, 2021 22:1915,837135,796,51650,679,33702,289,664
3May 15, 2021 22:1915,840125,794,77050,686,59302,281,472
4May 15, 2021 22:1915,842143,520,05150,694,35502,281,472
5May 15, 2021 22:1915,843120,580,51550,697,29702,273,280
6May 15, 2021 22:1915,844112,354,18350,700,87402,277,376
7May 15, 2021 22:1915,848113,891,91350,714,07102,277,376
8May 15, 2021 22:1915,853116,262,17250,730,77502,281,472
9May 15, 2021 22:1915,855117,212,90550,734,41002,285,568