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 22, 2024 23:21Joad NacerJoad NacerScore: 6,697Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2024 23:216,67585,369,76821,360,33602,183,168
2Jul 22, 2024 23:216,69794,607,50721,429,47402,174,976
3Jul 22, 2024 23:216,757111,491,20921,622,17902,301,952