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 25, 2024 22:03Dmitrii KravchenkoDmitrii KravchenkoScore: 4,886Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 25, 2024 22:034,85833,281,48614,511,0001,036,0002,281,472
2Nov 25, 2024 22:034,86531,544,86614,530,0001,037,0002,269,184
3Nov 25, 2024 22:034,87033,536,50614,545,0001,038,0002,281,472
4Nov 25, 2024 22:034,88041,718,33012,494,0003,123,0002,273,280
5Nov 25, 2024 22:034,88641,239,95314,594,0001,042,0002,281,472
6Nov 25, 2024 22:034,88935,443,33514,602,0001,043,0002,281,472
7Nov 25, 2024 22:034,89337,170,86714,613,0001,043,0002,277,376
8Nov 25, 2024 22:034,89634,097,76414,622,0001,044,0002,379,776
9Nov 25, 2024 22:034,91443,580,74515,724,00002,277,376