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 29, 2024 17:50Joad NacerJoad NacerScore: 4,553Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 17:504,52335,125,36013,439,0001,033,0002,269,184
2Nov 29, 2024 17:504,52935,943,68614,492,00002,424,832
3Nov 29, 2024 17:504,54237,430,59214,533,00002,269,184
4Nov 29, 2024 17:504,54727,618,01813,511,0001,039,0002,428,928
5Nov 29, 2024 17:504,55329,713,64514,569,00002,514,944
6Nov 29, 2024 17:504,56132,670,07114,594,00002,531,328
7Nov 29, 2024 17:504,56134,585,49813,553,0001,042,0002,269,184
8Nov 29, 2024 17:504,58242,873,61914,663,00002,531,328
9Nov 29, 2024 17:504,60138,680,61213,671,0001,051,0002,433,024