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 listApr 9, 2024 14:28emily graceemily graceScore: 5,753Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 9, 2024 14:285,71882,374,71818,297,59102,293,760
2Apr 9, 2024 14:285,72085,215,91118,302,55902,289,664
3Apr 9, 2024 14:285,73280,688,53618,343,55702,289,664
4Apr 9, 2024 14:285,75384,446,72218,410,94502,285,568
5Apr 9, 2024 14:285,75472,478,77318,412,40002,285,568
6Apr 9, 2024 14:285,75791,553,88318,421,12702,297,856