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 listSep 28, 2021 11:34Anton KrylovAnton KrylovScore: 2,539,632Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 28, 2021 11:342,530,8698,175,889,5138,098,779,38502,260,992
2Sep 28, 2021 11:342,539,6328,206,037,9868,126,821,95602,252,800
3Sep 28, 2021 11:342,557,0748,255,790,9618,182,635,98102,260,992