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 listAug 31, 2023 10:56mmalczakmmalczakScore: 1,158,999Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2023 10:561,150,2753,743,150,1453,680,879,64602,191,360
2Aug 31, 2023 10:561,158,9993,769,153,2363,708,797,79502,220,032
3Aug 31, 2023 10:561,159,1323,786,837,2263,709,222,03702,244,608