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 18, 2021 13:51Yuriy LyfenkoYuriy LyfenkoScore: 5,320Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 13:515,2951,926,205,45215,947,000996,0002,265,088
2May 18, 2021 13:515,299752,097,82214,962,0001,994,0002,396,160
3May 18, 2021 13:515,3141,911,525,14115,004,0002,000,0002,527,232
4May 18, 2021 13:515,3151,140,237,90615,119,0001,889,0002,265,088
5May 18, 2021 13:515,316293,493,81815,011,0002,001,0002,265,088
6May 18, 2021 13:515,3201,376,941,01315,132,0001,891,0002,265,088
7May 18, 2021 13:515,3202,817,540,70317,024,00002,265,088
8May 18, 2021 13:515,3282,462,657,21816,048,0001,003,0002,387,968
9May 18, 2021 13:515,3352,704,920,70416,067,0001,004,0002,265,088
10May 18, 2021 13:515,4002,901,628,44317,280,95802,273,280
11May 18, 2021 13:515,4141,503,949,62217,324,45002,281,472
12May 18, 2021 13:515,4423,059,992,95317,413,97202,277,376