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 13:20BenBenScore: 4,559Success
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 13:204,52035,473,38513,432,0001,033,0002,265,088
2Jul 28, 2024 13:204,53034,284,01714,497,00002,265,088
3Jul 28, 2024 13:204,53535,693,24213,475,0001,036,0002,392,064
4Jul 28, 2024 13:204,54742,801,84814,550,00002,396,160
5Jul 28, 2024 13:204,55235,700,20213,525,0001,040,0002,396,160
6Jul 28, 2024 13:204,55232,502,21713,525,0001,040,0002,387,968
7Jul 28, 2024 13:204,55939,211,26713,546,0001,042,0002,383,872
8Jul 28, 2024 13:204,56330,659,47814,602,00002,387,968
9Jul 28, 2024 13:204,57739,823,79313,599,0001,046,0002,265,088
10Jul 28, 2024 13:204,79173,598,57015,331,93102,285,568
11Jul 28, 2024 13:204,80095,441,13215,360,32702,240,512
12Jul 28, 2024 13:204,80575,824,50015,376,33402,281,472