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 15:48Yuriy LyfenkoYuriy LyfenkoScore: 5,162Success
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 15:485,11137,169,02715,334,0001,022,0002,396,160
2May 25, 2021 15:485,11543,056,83615,346,0001,023,0002,387,968
3May 25, 2021 15:485,11538,953,02916,369,00002,265,088
4May 25, 2021 15:485,12133,161,42814,340,0002,048,0002,392,064
5May 25, 2021 15:485,12335,363,94314,344,0002,049,0002,387,968
6May 25, 2021 15:485,14132,761,20215,423,0001,028,0002,527,232
7May 25, 2021 15:485,16233,762,67316,518,00002,265,088
8May 25, 2021 15:485,16832,337,32816,539,00002,392,064
9May 25, 2021 15:485,18244,162,36615,546,0001,036,0002,523,136
10May 25, 2021 15:485,34840,069,12617,113,23702,285,568
11May 25, 2021 15:485,36479,466,90217,165,83202,285,568
12May 25, 2021 15:485,41675,587,77517,332,32002,281,472