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 listNov 1, 2021 14:43Ilya AniskovetsIlya AniskovetsScore: 5,399Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 14:435,34437,486,28415,089,0002,011,0002,265,088
2Nov 1, 2021 14:435,34846,935,22516,107,0001,006,0002,265,088
3Nov 1, 2021 14:435,35736,768,96115,126,0002,016,0002,265,088
4Nov 1, 2021 14:435,36143,605,15415,137,0002,018,0002,265,088
5Nov 1, 2021 14:435,36943,092,53016,170,0001,010,0002,265,088
6Nov 1, 2021 14:435,37444,345,88816,187,0001,011,0002,265,088
7Nov 1, 2021 14:435,39936,207,18215,246,0002,032,0002,387,968
8Nov 1, 2021 14:435,40447,645,19516,275,0001,017,0002,379,776
9Nov 1, 2021 14:435,42443,580,21415,316,0002,042,0002,387,968
10Nov 1, 2021 14:435,53776,938,79517,717,80602,281,472
11Nov 1, 2021 14:435,556101,240,35117,778,21202,285,568
12Nov 1, 2021 14:435,58980,230,15217,886,12502,281,472