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 30, 2021 15:54Yuriy LyfenkoYuriy LyfenkoScore: 5,053Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 15:545,01833,054,33514,052,0002,007,0002,265,088
2May 30, 2021 15:545,02344,414,29114,065,0002,009,0002,387,968
3May 30, 2021 15:545,02932,788,43214,081,0002,011,0002,265,088
4May 30, 2021 15:545,03137,133,83515,093,0001,006,0002,265,088
5May 30, 2021 15:545,04038,562,78315,120,0001,008,0002,265,088
6May 30, 2021 15:545,04645,325,33115,138,0001,009,0002,527,232
7May 30, 2021 15:545,05336,522,20014,149,0002,021,0002,387,968
8May 30, 2021 15:545,05933,128,03515,177,0001,011,0002,265,088
9May 30, 2021 15:545,07835,263,51414,218,0002,031,0002,392,064
10May 30, 2021 15:545,20780,732,31716,660,99302,277,376
11May 30, 2021 15:545,21582,467,55016,686,78002,273,280
12May 30, 2021 15:545,24756,074,41016,789,68902,285,568