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 listSep 8, 2022 17:47Bernard TeoBernard TeoScore: 5,495Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 8, 2022 17:475,45082,239,08317,440,88302,293,760
2Sep 8, 2022 17:475,47568,043,08517,520,13402,289,664
3Sep 8, 2022 17:475,49072,773,06817,568,64302,301,952
4Sep 8, 2022 17:475,49591,024,88717,584,93102,297,856
5Sep 8, 2022 17:475,49594,567,73717,582,54402,289,664
6Sep 8, 2022 17:475,64583,303,88318,064,47202,293,760