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 listMay 24, 2021 07:15Andrey TsvetkovAndrey TsvetkovScore: 5,708Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 07:155,67441,739,96615,131,0003,026,0002,334,720
2May 24, 2021 07:155,68144,449,03116,159,0002,019,0002,334,720
3May 24, 2021 07:155,68144,313,80815,150,0003,030,0002,523,136
4May 24, 2021 07:155,69144,891,25116,187,0002,023,0002,527,232
5May 24, 2021 07:155,69240,966,95315,178,0003,035,0002,334,720
6May 24, 2021 07:155,69840,052,33415,195,0003,039,0002,535,424
7May 24, 2021 07:155,70840,902,95716,236,0002,029,0002,334,720
8May 24, 2021 07:155,71346,521,70416,250,0002,031,0002,334,720
9May 24, 2021 07:155,73241,333,29415,285,0003,057,0002,334,720
10May 24, 2021 07:155,776104,688,82718,484,30902,240,512
11May 24, 2021 07:155,80289,698,15018,565,13602,236,416
12May 24, 2021 07:155,92080,349,11918,943,21402,228,224