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 19:24alex3dalex3dScore: 11,337Success
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 19:2311,231104,840,38135,940,14902,273,280
2May 15, 2021 19:2311,313110,077,68436,202,15302,265,088
3May 15, 2021 19:2411,33495,854,77536,268,81002,273,280
4May 15, 2021 19:2411,337108,416,33236,278,02602,269,184
5May 15, 2021 19:2411,377103,916,22636,404,81502,277,376
6May 15, 2021 19:2311,406100,821,58136,498,74902,265,088