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 05:55Yuriy LyfenkoYuriy LyfenkoScore: 5,099Success
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 05:555,03432,089,45314,097,0002,013,0002,392,064
2May 24, 2021 05:555,05130,903,76515,154,0001,010,0002,265,088
3May 24, 2021 05:555,05644,626,19615,168,0001,011,0002,265,088
4May 24, 2021 05:555,07445,412,42815,222,0001,014,0002,387,968
5May 24, 2021 05:555,07837,251,75514,219,0002,031,0002,265,088
6May 24, 2021 05:555,08443,924,16014,235,0002,033,0002,265,088
7May 24, 2021 05:555,09931,792,16914,278,0002,039,0002,392,064
8May 24, 2021 05:555,10735,716,90115,322,0001,021,0002,265,088
9May 24, 2021 05:555,11339,210,06614,315,0002,045,0002,396,160
10May 24, 2021 05:555,28579,675,44316,912,90202,289,664
11May 24, 2021 05:555,29985,580,12716,955,60102,277,376
12May 24, 2021 05:555,36683,524,35517,170,19802,277,376