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 19, 2024 06:11matsuoka-601matsuoka-601Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 06:1100000Error: expected "976324 ", got "976325"
2Jul 19, 2024 06:114,84780,835,31715,511,17402,174,976
3Jul 19, 2024 06:114,85479,202,84915,532,26202,306,048
4Jul 19, 2024 06:114,86575,785,42415,568,77802,297,856