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 11, 2021 19:28Yuriy LyfenkoYuriy LyfenkoScore: 5,709Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 19:285,64944,215,70916,069,0002,008,0002,379,776
2May 11, 2021 19:285,66244,883,25816,105,0002,013,0002,519,040
3May 11, 2021 19:285,66543,528,55516,113,0002,014,0002,396,160
4May 11, 2021 19:285,67245,779,47516,134,0002,016,0002,396,160
5May 11, 2021 19:285,67645,422,26817,153,0001,009,0002,519,040
6May 11, 2021 19:285,67945,540,07516,153,0002,019,0002,387,968
7May 11, 2021 19:285,70937,736,74917,254,0001,014,0002,519,040
8May 11, 2021 19:285,71043,105,27116,242,0002,030,0002,478,080
9May 11, 2021 19:285,71234,128,38316,248,0002,031,0002,260,992
10May 11, 2021 19:285,86889,583,08218,776,80202,289,664
11May 11, 2021 19:285,90879,715,41118,904,14802,269,184
12May 11, 2021 19:285,93888,844,38319,000,78202,277,376