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:11BenBenScore: 4,557Success
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:114,52836,238,73914,491,00002,396,160
2Jul 28, 2024 09:114,54432,600,02013,502,0001,038,0002,396,160
3Jul 28, 2024 09:114,54535,657,20314,545,00002,527,232
4Jul 28, 2024 09:114,54836,697,24913,514,0001,039,0002,265,088
5Jul 28, 2024 09:114,55030,161,41113,520,0001,040,0002,502,656
6Jul 28, 2024 09:114,55231,730,79813,527,0001,040,0002,392,064
7Jul 28, 2024 09:114,55731,762,93113,541,0001,041,0002,392,064
8Jul 28, 2024 09:114,55737,103,36413,541,0001,041,0002,265,088
9Jul 28, 2024 09:114,55938,593,09614,589,00002,265,088
10Jul 28, 2024 09:114,78379,711,37115,304,13002,285,568
11Jul 28, 2024 09:114,78996,876,34615,325,18802,285,568
12Jul 28, 2024 09:114,79666,361,35915,345,69102,281,472