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 17, 2021 15:06Yuriy LyfenkoYuriy LyfenkoScore: 5,469Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 15:065,417566,536,06115,295,0002,039,0002,523,136
2May 17, 2021 15:065,4222,222,189,03116,386,000963,0002,260,992
3May 17, 2021 15:065,4471,970,761,97616,462,000968,0002,523,136
4May 17, 2021 15:065,4482,533,209,91515,498,0001,937,0002,269,184
5May 17, 2021 15:065,4631,461,104,62816,512,000971,0002,265,088
6May 17, 2021 15:065,4643,797,749,57516,513,000971,0002,265,088
7May 17, 2021 15:065,469757,115,56314,584,0002,916,0002,523,136
8May 17, 2021 15:065,477143,545,15515,578,0001,947,0002,269,184
9May 17, 2021 15:065,4801,974,955,09716,504,0001,031,0002,265,088
10May 17, 2021 15:065,5592,657,179,86717,789,36102,277,376
11May 17, 2021 15:065,5802,486,804,62717,855,34202,281,472
12May 17, 2021 15:065,5943,495,651,61917,900,20202,277,376