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:56Yuriy LyfenkoYuriy LyfenkoScore: 5,212Success
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:565,17034,331,54015,511,0001,034,0002,265,088
2May 25, 2021 15:565,17236,709,15815,516,0001,034,0002,265,088
3May 25, 2021 15:565,18738,125,04615,561,0001,037,0002,527,232
4May 25, 2021 15:565,19332,712,83316,619,00002,392,064
5May 25, 2021 15:565,19741,004,43015,591,0001,039,0002,510,848
6May 25, 2021 15:565,21144,351,96015,634,0001,042,0002,383,872
7May 25, 2021 15:565,21234,154,60715,637,0001,042,0002,265,088
8May 25, 2021 15:565,22147,996,86016,707,00002,396,160
9May 25, 2021 15:565,27143,144,55615,874,000992,0002,265,088
10May 25, 2021 15:565,33952,012,98317,085,89302,273,280
11May 25, 2021 15:565,38061,050,02817,216,74402,289,664
12May 25, 2021 15:565,38790,862,50417,238,06202,281,472