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 17:37emily graceemily graceScore: 5,465Success
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 17:375,43177,221,90117,378,72102,265,088
2Apr 10, 2024 17:385,44058,114,02717,407,15202,269,184
3Apr 10, 2024 17:385,44378,020,88017,418,02702,265,088
4Apr 10, 2024 17:375,44586,913,59617,423,39802,269,184
5Apr 10, 2024 17:385,46585,823,32217,489,56502,265,088
6Apr 10, 2024 17:375,46871,865,99617,497,77202,265,088
7Apr 10, 2024 17:385,47456,057,56117,515,33202,260,992
8Apr 10, 2024 17:385,50885,025,01817,626,18902,260,992
9Apr 10, 2024 17:385,52877,956,58717,690,80202,265,088