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 14:43Yuriy LyfenkoYuriy LyfenkoScore: 5,355Success
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 14:435,32634,517,36415,038,0002,005,0002,265,088
2May 23, 2021 14:435,32845,303,49616,048,0001,003,0002,387,968
3May 23, 2021 14:435,33245,880,35015,054,0002,007,0002,265,088
4May 23, 2021 14:435,33848,685,23415,071,0002,009,0002,400,256
5May 23, 2021 14:435,34342,624,60915,087,0002,011,0002,383,872
6May 23, 2021 14:435,34842,730,93315,102,0002,013,0002,383,872
7May 23, 2021 14:435,35546,710,21716,128,0001,008,0002,383,872
8May 23, 2021 14:435,35843,788,62616,137,0001,008,0002,396,160
9May 23, 2021 14:435,36738,509,22915,155,0002,020,0002,265,088
10May 23, 2021 14:435,56470,772,95617,805,72102,285,568
11May 23, 2021 14:435,57290,236,05217,828,87902,277,376
12May 23, 2021 14:435,60262,276,28517,925,40602,281,472