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 listJun 9, 2024 15:02matsuoka-601matsuoka-601Score: 4,818Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 15:024,78336,502,22614,285,0001,020,0002,293,760
2Jun 9, 2024 15:024,79840,853,93215,355,00002,293,760
3Jun 9, 2024 15:024,80435,373,43615,373,00002,293,760
4Jun 9, 2024 15:024,80536,668,02114,350,0001,025,0002,293,760
5Jun 9, 2024 15:024,80835,329,03115,386,00002,269,184
6Jun 9, 2024 15:024,81339,105,49415,400,00002,293,760
7Jun 9, 2024 15:024,81833,348,34115,419,00002,293,760
8Jun 9, 2024 15:024,81946,316,08314,392,0001,028,0002,293,760
9Jun 9, 2024 15:024,83837,053,18514,448,0001,032,0002,293,760
10Jun 9, 2024 15:025,12590,955,44016,400,94602,289,664
11Jun 9, 2024 15:025,12657,427,70616,402,36902,306,048
12Jun 9, 2024 15:025,14689,359,83916,465,87002,297,856