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 17, 2021 14:05Yuriy LyfenkoYuriy LyfenkoScore: 5,565Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 14:055,5024,834,864,84615,650,0001,956,0002,265,088
2May 17, 2021 14:055,5073,780,564,56817,623,00002,265,088
3May 17, 2021 14:055,5162,585,934,28515,691,0001,961,0002,527,232
4May 17, 2021 14:055,5171,170,196,89117,655,00002,269,184
5May 17, 2021 14:055,5214,135,232,91316,686,000981,0002,265,088
6May 17, 2021 14:055,5512,576,094,88916,777,000986,0002,265,088
7May 17, 2021 14:055,5653,425,795,34716,819,000989,0002,269,184
8May 17, 2021 14:055,5723,650,930,27215,850,0001,981,0002,265,088
9May 17, 2021 14:055,5884,047,947,27614,903,0002,980,0002,260,992
10May 17, 2021 14:055,685411,124,02718,191,05302,281,472
11May 17, 2021 14:055,7223,894,573,94018,309,94002,281,472
12May 17, 2021 14:055,8083,203,194,39118,584,39202,281,472