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 listJul 8, 2021 15:34Yuriy LyfenkoYuriy LyfenkoScore: 4,571Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 15:344,53929,195,48213,488,0001,037,0002,265,088
2Jul 8, 2021 15:344,56034,860,35013,549,0001,042,0002,383,872
3Jul 8, 2021 15:344,56330,824,70313,558,0001,042,0002,265,088
4Jul 8, 2021 15:344,56337,382,72113,559,0001,043,0002,265,088
5Jul 8, 2021 15:344,56429,188,39014,605,00002,527,232
6Jul 8, 2021 15:344,56542,120,46714,608,00002,265,088
7Jul 8, 2021 15:344,57135,392,79014,628,00002,265,088
8Jul 8, 2021 15:344,57538,086,75714,640,00002,387,968
9Jul 8, 2021 15:344,58432,073,08213,623,0001,047,0002,265,088
10Jul 8, 2021 15:344,78789,450,62615,318,17802,244,608
11Jul 8, 2021 15:344,79098,890,49715,327,73902,281,472
12Jul 8, 2021 15:344,80081,554,72215,359,36502,285,568