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 09:22BenBenScore: 5,148Success
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 09:225,09941,830,20114,279,0002,039,0002,265,088
2Jul 28, 2024 09:225,10035,823,61714,281,0002,040,0002,396,160
3Jul 28, 2024 09:225,11938,531,20216,382,00002,392,064
4Jul 28, 2024 09:225,12441,796,46916,397,00002,527,232
5Jul 28, 2024 09:225,13833,435,72716,443,00002,387,968
6Jul 28, 2024 09:225,14838,167,28516,473,00002,392,064
7Jul 28, 2024 09:225,14838,729,62016,474,00002,506,752
8Jul 28, 2024 09:225,15233,466,45916,487,00002,265,088
9Jul 28, 2024 09:225,15536,836,95516,497,00002,387,968
10Jul 28, 2024 09:225,33891,729,48917,080,47802,240,512
11Jul 28, 2024 09:225,352112,401,53717,125,67302,273,280
12Jul 28, 2024 09:225,370109,392,79817,183,54602,281,472