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 listApr 10, 2024 22:56emily graceemily graceScore: 5,519Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 22:565,48593,650,18517,553,17302,265,088
2Apr 10, 2024 22:565,49997,671,04317,595,96802,269,184
3Apr 10, 2024 22:565,50179,568,20417,601,79502,256,896
4Apr 10, 2024 22:565,51975,165,83717,659,67102,269,184
5Apr 10, 2024 22:565,53260,653,64717,701,61102,269,184
6Apr 10, 2024 22:565,53385,648,06917,704,53702,252,800