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:52BenBenScore: 4,651Success
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:524,57830,045,52013,602,0001,046,0002,392,064
2Jul 28, 2024 07:524,59935,859,78313,666,0001,051,0002,396,160
3Jul 28, 2024 07:524,63132,166,29312,843,0001,975,0002,379,776
4Jul 28, 2024 07:524,64633,329,67213,877,000991,0002,265,088
5Jul 28, 2024 07:524,64832,335,93712,891,0001,983,0002,392,064
6Jul 28, 2024 07:524,64840,641,24113,883,000991,0002,265,088
7Jul 28, 2024 07:524,65134,045,95512,898,0001,984,0002,383,872
8Jul 28, 2024 07:524,65234,189,91812,902,0001,985,0002,392,064
9Jul 28, 2024 07:524,65832,888,28012,918,0001,987,0002,396,160
10Jul 28, 2024 07:524,83582,129,94415,471,39002,285,568
11Jul 28, 2024 07:524,84757,077,09715,511,93602,240,512
12Jul 28, 2024 07:524,87491,765,89415,597,30202,285,568