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 16, 2023 21:22Martin StensgårdMartin StensgårdScore: 2,531,653Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2023 21:222,530,6288,156,723,1368,098,010,30302,265,088
2May 16, 2023 21:222,531,6538,160,266,5828,101,291,15602,252,800
3May 16, 2023 21:222,646,8678,530,759,3568,469,974,97302,252,800