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 16, 2021 15:41Yuriy LyfenkoYuriy LyfenkoScore: 6,200Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 15:416,13446,811,60919,628,00002,490,368
2May 16, 2021 15:416,13944,803,10318,611,0001,033,0002,494,464
3May 16, 2021 15:416,14147,580,24717,582,0002,068,0002,326,528
4May 16, 2021 15:416,14447,189,07419,662,00002,478,080
5May 16, 2021 15:416,15345,731,67719,688,00002,326,528
6May 16, 2021 15:416,16248,916,51819,717,00002,486,272
7May 16, 2021 15:416,20047,527,35915,873,0003,968,0002,330,624
8May 16, 2021 15:416,20785,734,36219,863,88502,191,360
9May 16, 2021 15:416,21251,431,65419,879,00002,482,176
10May 16, 2021 15:416,21647,141,38018,896,000994,0002,326,528
11May 16, 2021 15:416,24788,761,29619,991,49902,195,456
12May 16, 2021 15:416,29599,252,89020,144,28802,191,360