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 13, 2023 08:22Andrey GeinAndrey GeinScore: 2,539,162Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2023 08:222,539,0698,183,502,2778,125,019,71402,256,896
2Jun 13, 2023 08:222,539,1628,191,748,4928,125,317,26602,252,800
3Jun 13, 2023 08:222,548,3678,217,369,6808,154,773,76202,260,992