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 23, 2024 02:35Eduardo BarbianEduardo BarbianScore: 2,550,373Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2024 02:352,536,1518,183,289,6138,115,684,40702,252,800
2Jul 23, 2024 02:352,550,3738,239,972,5738,161,192,37802,256,896
3Jul 23, 2024 02:352,587,2458,355,735,9118,279,183,09102,260,992