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:22Yuriy LyfenkoYuriy LyfenkoScore: 5,123Success
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:225,07749,663,46914,216,0002,030,0002,265,088
2May 24, 2021 07:225,08436,580,48415,254,0001,016,0002,265,088
3May 24, 2021 07:225,08834,200,21614,246,0002,035,0002,265,088
4May 24, 2021 07:225,08934,957,88914,251,0002,035,0002,269,184
5May 24, 2021 07:225,08933,210,74415,269,0001,017,0002,523,136
6May 24, 2021 07:225,09443,587,61015,283,0001,018,0002,265,088
7May 24, 2021 07:225,12336,795,35816,392,00002,400,256
8May 24, 2021 07:225,12642,939,51816,402,00002,527,232
9May 24, 2021 07:225,13750,063,07116,437,00002,260,992
10May 24, 2021 07:225,29681,390,43616,945,74902,273,280
11May 24, 2021 07:225,32275,331,35517,031,91802,273,280
12May 24, 2021 07:225,32462,711,60717,036,60802,277,376