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 16, 2021 19:10Yuriy LyfenkoYuriy LyfenkoScore: 5,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 19:105,4091,062,342,63615,387,0001,923,0002,260,992
2May 16, 2021 19:105,4151,998,016,98417,327,00002,260,992
3May 16, 2021 19:105,4152,736,128,59115,402,0001,925,0002,260,992
4May 16, 2021 19:105,4194,362,749,61817,341,00002,523,136
5May 16, 2021 19:105,419957,636,92316,322,0001,020,0002,383,872
6May 16, 2021 19:105,4452,239,285,56617,425,00002,519,040
7May 16, 2021 19:105,453174,025,43316,481,000969,0002,396,160
8May 16, 2021 19:105,4564,542,041,27115,520,0001,940,0002,523,136
9May 16, 2021 19:105,459565,227,98216,441,0001,027,0002,523,136
10May 16, 2021 19:105,622360,993,19817,990,97702,285,568
11May 16, 2021 19:105,6262,457,300,47118,003,04202,281,472
12May 16, 2021 19:105,6703,511,193,30818,143,09902,281,472