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:24Andrey TsvetkovAndrey TsvetkovScore: 5,933Success
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:245,89835,692,88917,881,000993,0002,326,528
2May 22, 2021 17:245,90045,850,39216,893,0001,987,0002,527,232
3May 22, 2021 17:245,90050,846,84717,887,000993,0002,326,528
4May 22, 2021 17:245,90441,677,24315,909,0002,983,0002,519,040
5May 22, 2021 17:245,90544,996,18517,901,000994,0002,523,136
6May 22, 2021 17:245,91343,202,92315,935,0002,987,0002,322,432
7May 22, 2021 17:245,92240,649,87015,959,0002,992,0002,326,528
8May 22, 2021 17:245,93345,464,41714,990,0003,997,0002,531,328
9May 22, 2021 17:245,94448,447,21816,017,0003,003,0002,527,232
10May 22, 2021 17:245,96767,884,81719,095,36002,228,224
11May 22, 2021 17:245,97582,879,97319,121,41702,232,320
12May 22, 2021 17:246,02495,552,81919,276,70602,232,320
13May 22, 2021 17:246,02597,351,31119,280,80602,236,416
14May 22, 2021 17:246,10974,904,88019,548,87002,232,320
15May 22, 2021 17:246,16180,677,66319,714,80802,232,320