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 24, 2021 06:24Yuriy LyfenkoYuriy LyfenkoScore: 5,106Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 06:245,05638,226,17115,167,0001,011,0002,265,088
2May 24, 2021 06:245,06341,948,08114,175,0002,025,0002,383,872
3May 24, 2021 06:245,06833,158,84114,192,0002,027,0002,265,088
4May 24, 2021 06:245,07047,861,80514,197,0002,028,0002,265,088
5May 24, 2021 06:245,08243,663,53715,245,0001,016,0002,265,088
6May 24, 2021 06:245,09635,649,01614,270,0002,038,0002,265,088
7May 24, 2021 06:245,10649,243,91316,340,00002,400,256
8May 24, 2021 06:245,11043,723,49616,352,00002,265,088
9May 24, 2021 06:245,11339,218,58915,338,0001,022,0002,265,088
10May 24, 2021 06:245,34890,886,73917,112,95702,269,184
11May 24, 2021 06:245,35166,112,83317,123,13002,273,280
12May 24, 2021 06:245,41484,299,17217,324,93602,281,472