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 25, 2025 07:49Cameron AavikCameron AavikScore: 5,774Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 25, 2025 07:495,76343,499,50416,394,0002,049,0002,301,952
2Jan 25, 2025 07:495,77447,313,08916,425,0002,053,0002,535,424
3Jan 25, 2025 07:495,79446,416,56914,421,0004,120,0002,535,424