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 listJul 20, 2024 15:41Matt StuchlikMatt StuchlikError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 15:4100000Error: expected "976136 ", got "975880"
2Jul 20, 2024 15:4100000Error: expected "978524 ", got "978268"
3Jul 20, 2024 15:4100000Error: expected "974793 ", got "974537"