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 listOct 29, 2023 06:45goon-goon-Score: 5,579Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2023 06:455,50141,971,89116,569,0001,035,0002,265,088
2Oct 29, 2023 06:455,51542,943,71816,610,0001,038,0002,392,064
3Oct 29, 2023 06:455,52342,199,10816,635,0001,039,0002,256,896
4Oct 29, 2023 06:455,52443,199,17316,637,0001,039,0002,506,752
5Oct 29, 2023 06:455,57544,467,75015,857,0001,982,0002,265,088
6Oct 29, 2023 06:455,57943,806,28115,869,0001,983,0002,473,984
7Oct 29, 2023 06:455,57942,203,34416,863,000991,0002,265,088
8Oct 29, 2023 06:455,58646,557,30815,890,0001,986,0002,265,088
9Oct 29, 2023 06:455,58945,977,81517,884,00002,527,232
10Oct 29, 2023 06:455,78479,838,54218,508,63702,285,568
11Oct 29, 2023 06:455,80479,990,16418,573,18802,285,568
12Oct 29, 2023 06:455,83999,705,12118,685,81602,281,472