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 06:28Yuriy LyfenkoYuriy LyfenkoScore: 5,142Success
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 06:285,10638,784,55915,319,0001,021,0002,383,872
2May 25, 2021 06:285,10939,867,99015,327,0001,021,0002,527,232
3May 25, 2021 06:285,11745,483,80615,352,0001,023,0002,396,160
4May 25, 2021 06:285,12237,309,45315,367,0001,024,0002,265,088
5May 25, 2021 06:285,12530,221,95016,401,00002,260,992
6May 25, 2021 06:285,13241,097,67916,422,00002,396,160
7May 25, 2021 06:285,14232,745,78615,427,0001,028,0002,265,088
8May 25, 2021 06:285,15838,510,19515,473,0001,031,0002,400,256
9May 25, 2021 06:285,16435,306,33616,524,00002,392,064
10May 25, 2021 06:285,32448,026,66517,035,56502,281,472
11May 25, 2021 06:285,38651,734,58917,234,00502,277,376
12May 25, 2021 06:285,411114,000,80617,314,87602,273,280