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 listJan 1, 2023 17:43Hal FHal FError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 17:4300000Error: expected "978456 ", got " 0: 15806294 ns. 978456 0: 15354003 ns. 978456 1: 15378035 ns. 978456 7: 16689456 ns. 978456 8: 16683388 ns. 978456 9: 23959227 ns. 978456 15: 24079367 ns. 978456 ...