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 listOct 6, 2023 06:43Pavel ZagrebinPavel ZagrebinScore: 5,505Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 6, 2023 06:435,48340,284,56217,544,00002,527,232
2Oct 6, 2023 06:435,48445,051,78517,549,00002,265,088
3Oct 6, 2023 06:435,48944,548,50117,565,00002,265,088
4Oct 6, 2023 06:435,49339,780,87516,544,0001,034,0002,387,968
5Oct 6, 2023 06:435,49947,640,22317,596,00002,392,064
6Oct 6, 2023 06:435,50433,606,36217,613,00002,269,184
7Oct 6, 2023 06:435,50548,928,36517,616,00002,387,968
8Oct 6, 2023 06:435,50944,016,00517,630,00002,392,064
9Oct 6, 2023 06:435,60041,749,95116,867,0001,054,0002,265,088
10Oct 6, 2023 06:435,63577,134,73918,031,11802,281,472
11Oct 6, 2023 06:435,65693,316,88018,099,04602,285,568
12Oct 6, 2023 06:435,68896,258,57418,201,55902,269,184