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 listNov 27, 2022 17:25apuxbtapuxbtScore: 2,532,356Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2022 17:252,531,2278,168,731,2358,099,925,14902,260,992
2Nov 27, 2022 17:252,532,3568,172,884,1648,103,538,67002,260,992
3Nov 27, 2022 17:252,533,3358,169,126,1188,106,672,88802,252,800