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 10, 2024 17:06emily graceemily graceScore: 5,464Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 17:065,41773,158,03017,333,60602,277,376
2Apr 10, 2024 17:065,44082,768,33017,408,04002,285,568
3Apr 10, 2024 17:065,45992,392,67717,469,29302,293,760
4Apr 10, 2024 17:065,46485,980,60617,484,97802,285,568
5Apr 10, 2024 17:065,46855,236,55817,498,35102,297,856
6Apr 10, 2024 17:065,47280,605,31317,510,67002,297,856