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 27, 2021 19:48Yuriy LyfenkoYuriy LyfenkoScore: 5,402Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:485,36034,103,88415,134,0002,017,0002,265,088
2May 27, 2021 19:485,36441,231,32815,145,0002,019,0002,265,088
3May 27, 2021 19:485,36745,105,89515,153,0002,020,0002,527,232
4May 27, 2021 19:485,36836,040,15916,166,0001,010,0002,392,064
5May 27, 2021 19:485,37444,258,24515,174,0002,023,0002,396,160
6May 27, 2021 19:485,38845,815,43416,229,0001,014,0002,387,968
7May 27, 2021 19:485,40245,819,13815,254,0002,033,0002,387,968
8May 27, 2021 19:485,40646,693,84315,264,0002,035,0002,265,088
9May 27, 2021 19:485,41632,975,67617,330,00002,265,088
10May 27, 2021 19:485,51778,776,67317,653,82302,277,376
11May 27, 2021 19:485,51787,272,06917,653,71402,273,280
12May 27, 2021 19:485,54039,804,23517,728,34502,273,280