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 listJan 15, 2022 21:00korovakkorovakScore: 46,556Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2022 21:0046,468201,063,466148,698,92602,187,264
2Jan 15, 2022 21:0046,556213,233,268148,979,40002,297,856
3Jan 15, 2022 21:0046,573209,720,835149,034,78302,293,760