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 18:02Yuriy LyfenkoYuriy LyfenkoScore: 5,438Success
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 18:025,4104,239,530,81816,294,0001,018,0002,260,992
2May 16, 2021 18:025,4164,242,571,73215,293,0002,039,0002,260,992
3May 16, 2021 18:025,4214,240,434,25315,307,0002,041,0002,519,040
4May 16, 2021 18:025,4224,239,869,08516,331,0001,020,0002,260,992
5May 16, 2021 18:025,4354,242,508,92015,345,0002,046,0002,396,160
6May 16, 2021 18:025,4354,245,763,71716,370,0001,023,0002,523,136
7May 16, 2021 18:025,4384,239,990,82517,401,00002,260,992
8May 16, 2021 18:025,4394,237,681,83516,381,0001,023,0002,519,040
9May 16, 2021 18:025,4404,245,115,57315,360,0002,048,0002,523,136
10May 16, 2021 18:025,6364,290,503,40718,036,16402,281,472
11May 16, 2021 18:025,6504,279,804,70518,080,69702,281,472
12May 16, 2021 18:025,6824,289,174,89018,183,33102,277,376