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 26, 2024 09:07Dmitrii KravchenkoDmitrii KravchenkoScore: 4,909Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2024 09:074,88853,171,07814,600,0001,042,0002,281,472
2Nov 26, 2024 09:074,90933,606,71613,615,0002,094,0002,273,280
3Nov 26, 2024 09:074,96248,515,19914,886,000992,0002,273,280