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 listAug 17, 2024 20:37zielajzielajScore: 364,531Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 20:37363,4931,227,517,6181,163,178,90502,371,584
2Aug 17, 2024 20:37364,5311,244,299,3191,166,500,17602,224,128
3Aug 17, 2024 20:37364,9621,233,918,5971,167,876,91802,240,512