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 listMay 22, 2021 17:31Andrey TsvetkovAndrey TsvetkovScore: 5,901Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 17:315,82347,025,81116,562,0002,070,0002,519,040
2May 22, 2021 17:315,84843,124,84518,713,00002,330,624
3May 22, 2021 17:315,85439,259,29414,570,0004,163,0002,527,232
4May 22, 2021 17:315,89749,170,36817,876,000993,0002,326,528
5May 22, 2021 17:315,89744,001,51615,890,0002,979,0002,330,624
6May 22, 2021 17:315,89835,286,72915,893,0002,980,0002,527,232
7May 22, 2021 17:315,89944,589,60716,891,0001,987,0002,392,064
8May 22, 2021 17:315,90148,657,80415,903,0002,981,0002,510,848
9May 22, 2021 17:315,90245,847,69515,904,0002,982,0002,326,528
10May 22, 2021 17:315,94082,049,70319,008,35902,232,320
11May 22, 2021 17:315,95674,354,06619,059,15602,232,320
12May 22, 2021 17:315,97090,101,84119,105,00302,236,416
13May 22, 2021 17:315,97691,813,74819,124,46002,228,224
14May 22, 2021 17:316,02581,832,68019,280,78802,236,416
15May 22, 2021 17:316,07285,859,32619,430,71402,232,320