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 listDec 22, 2021 04:41Yuriy LyfenkoYuriy LyfenkoScore: 5,732Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2021 04:415,635574,228,10618,032,52602,252,800
2Dec 22, 2021 04:415,653544,041,15217,025,0001,064,0002,334,720
3Dec 22, 2021 04:415,699541,313,33118,237,00002,338,816
4Dec 22, 2021 04:415,709546,127,55316,239,0002,029,0002,334,720
5Dec 22, 2021 04:415,727544,668,44918,327,00002,334,720
6Dec 22, 2021 04:415,728548,685,23417,311,0001,018,0002,334,720
7Dec 22, 2021 04:415,732546,628,82016,411,0001,930,0002,334,720
8Dec 22, 2021 04:415,732548,678,41616,304,0002,038,0002,334,720
9Dec 22, 2021 04:415,734547,788,82817,331,0001,019,0002,338,816
10Dec 22, 2021 04:415,735551,507,15918,352,00002,338,816
11Dec 22, 2021 04:415,737585,935,39018,357,71502,256,896
12Dec 22, 2021 04:415,769580,622,13418,461,96702,256,896