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 23, 2021 18:54Yuriy LyfenkoYuriy LyfenkoScore: 5,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 18:545,27145,788,89815,876,000992,0002,383,872
2May 23, 2021 18:545,27148,595,97215,876,000992,0002,392,064
3May 23, 2021 18:545,27533,430,33116,881,00002,396,160
4May 23, 2021 18:545,27733,016,56514,901,0001,986,0002,527,232
5May 23, 2021 18:545,27845,141,23415,897,000993,0002,265,088
6May 23, 2021 18:545,28732,517,72515,923,000995,0002,256,896
7May 23, 2021 18:545,29843,699,83714,959,0001,994,0002,265,088
8May 23, 2021 18:545,30146,637,04814,967,0001,995,0002,527,232
9May 23, 2021 18:545,31244,764,62814,998,0001,999,0002,265,088
10May 23, 2021 18:545,49966,379,72217,595,78202,269,184
11May 23, 2021 18:545,50363,602,08517,608,49902,277,376
12May 23, 2021 18:545,53384,826,88617,704,32902,281,472