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 23, 2021 18:48Yuriy LyfenkoYuriy LyfenkoScore: 5,126Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 18:485,09134,954,83315,274,0001,018,0002,265,088
2May 23, 2021 18:485,09941,210,44914,279,0002,039,0002,392,064
3May 23, 2021 18:485,10134,275,06016,323,00002,265,088
4May 23, 2021 18:485,10838,666,08916,344,00002,392,064
5May 23, 2021 18:485,11432,214,93915,342,0001,022,0002,400,256
6May 23, 2021 18:485,12237,698,47715,366,0001,024,0002,265,088
7May 23, 2021 18:485,12639,726,00915,377,0001,025,0002,396,160
8May 23, 2021 18:485,12835,409,36315,383,0001,025,0002,265,088
9May 23, 2021 18:485,15736,921,71715,470,0001,031,0002,379,776
10May 23, 2021 18:485,30669,726,08416,978,86702,273,280
11May 23, 2021 18:485,32185,998,04417,026,60402,281,472
12May 23, 2021 18:485,33986,265,55817,084,87002,273,280