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 listJun 8, 2021 14:16Anna StepkoAnna StepkoScore: 2,569,896Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2021 14:162,491,5738,026,801,2947,973,033,20602,256,896
2Jun 8, 2021 14:162,569,8968,290,792,9748,223,668,42702,252,800
3Jun 8, 2021 14:162,616,5698,437,446,2288,373,022,00602,256,896