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:24Yuriy LyfenkoYuriy LyfenkoScore: 5,204Success
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:245,17342,225,78615,518,0001,034,0002,265,088
2May 28, 2021 15:245,17837,164,39215,536,0001,035,0002,265,088
3May 28, 2021 15:245,18038,603,82416,577,00002,265,088
4May 28, 2021 15:245,18432,713,12515,554,0001,036,0002,269,184
5May 28, 2021 15:245,18632,604,35015,559,0001,037,0002,265,088
6May 28, 2021 15:245,18941,984,45915,569,0001,037,0002,265,088
7May 28, 2021 15:245,20451,527,19815,614,0001,040,0002,392,064
8May 28, 2021 15:245,21647,553,23316,692,00002,396,160
9May 28, 2021 15:245,21847,115,35516,696,00002,400,256
10May 28, 2021 15:245,36543,837,39617,169,55502,273,280
11May 28, 2021 15:245,38075,851,87817,217,40202,273,280
12May 28, 2021 15:245,40056,693,21317,281,45602,281,472