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 25, 2021 15:47Yuriy LyfenkoYuriy LyfenkoScore: 5,157Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:475,10640,970,47116,338,00002,265,088
2May 25, 2021 15:475,11234,830,16416,358,00002,396,160
3May 25, 2021 15:475,11633,144,84415,348,0001,023,0002,400,256
4May 25, 2021 15:475,12733,639,03315,382,0001,025,0002,265,088
5May 25, 2021 15:475,12844,790,12516,410,00002,265,088
6May 25, 2021 15:475,15640,099,49916,499,00002,265,088
7May 25, 2021 15:475,15740,289,27415,471,0001,031,0002,265,088
8May 25, 2021 15:475,15937,454,91116,509,00002,396,160
9May 25, 2021 15:475,19945,765,44916,638,00002,527,232
10May 25, 2021 15:475,32062,681,36817,023,42302,273,280
11May 25, 2021 15:475,32844,142,86317,048,53902,281,472
12May 25, 2021 15:475,34967,408,66717,117,42702,265,088