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 28, 2021 15:02Yuriy LyfenkoYuriy LyfenkoScore: 5,141Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 15:025,08541,036,70214,239,0002,034,0002,383,872
2May 28, 2021 15:025,10134,582,32615,303,0001,020,0002,392,064
3May 28, 2021 15:025,10343,432,40214,287,0002,041,0002,387,968
4May 28, 2021 15:025,10438,352,31116,334,00002,396,160
5May 28, 2021 15:025,10735,875,18115,321,0001,021,0002,392,064
6May 28, 2021 15:025,11135,657,36816,355,00002,265,088
7May 28, 2021 15:025,14138,756,41616,451,00002,265,088
8May 28, 2021 15:025,14932,074,20316,477,00002,400,256
9May 28, 2021 15:025,15038,764,80016,480,00002,265,088
10May 28, 2021 15:025,31983,934,44517,019,69802,269,184
11May 28, 2021 15:025,33764,204,44917,077,54102,277,376
12May 28, 2021 15:025,34291,409,91717,095,27702,277,376