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 28, 2024 07:26BenBenScore: 5,226Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 07:265,16236,946,29515,487,0001,032,0002,265,088
2Jul 28, 2024 07:265,18840,277,41916,600,00002,506,752
3Jul 28, 2024 07:265,20036,686,68115,601,0001,040,0002,387,968
4Jul 28, 2024 07:265,20143,220,00315,602,0001,040,0002,265,088
5Jul 28, 2024 07:265,20731,505,34415,620,0001,041,0002,387,968
6Jul 28, 2024 07:265,21239,795,67716,679,00002,387,968
7Jul 28, 2024 07:265,22646,148,96715,677,0001,045,0002,473,984
8Jul 28, 2024 07:265,27042,795,61315,873,000992,0002,265,088
9Jul 28, 2024 07:265,27343,908,64914,889,0001,985,0002,392,064
10Jul 28, 2024 07:265,283102,917,08916,906,47102,285,568
11Jul 28, 2024 07:265,35586,067,94217,134,62102,289,664
12Jul 28, 2024 07:265,35765,456,43117,141,09602,293,760