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 27, 2021 18:25Yuriy LyfenkoYuriy LyfenkoScore: 5,067Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:255,02936,282,61715,088,0001,005,0002,392,064
2May 27, 2021 18:255,03746,491,18115,110,0001,007,0002,396,160
3May 27, 2021 18:255,03832,395,09814,106,0002,015,0002,260,992
4May 27, 2021 18:255,05140,944,04015,153,0001,010,0002,379,776
5May 27, 2021 18:255,05539,221,75714,154,0002,022,0002,400,256
6May 27, 2021 18:255,05633,465,77714,156,0002,022,0002,265,088
7May 27, 2021 18:255,06747,969,18514,187,0002,026,0002,265,088
8May 27, 2021 18:255,07739,501,70915,231,0001,015,0002,265,088
9May 27, 2021 18:255,08336,133,82114,234,0002,033,0002,400,256
10May 27, 2021 18:255,24456,096,63516,779,96402,285,568
11May 27, 2021 18:255,26381,096,50316,842,35402,277,376
12May 27, 2021 18:255,67849,139,92218,169,20702,277,376