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:30Andrey TsvetkovAndrey TsvetkovScore: 5,917Success
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:305,89139,723,07915,876,0002,976,0002,523,136
2May 22, 2021 17:305,89234,844,71515,877,0002,977,0002,523,136
3May 22, 2021 17:305,89741,810,44815,892,0002,979,0002,535,424
4May 22, 2021 17:305,89847,853,58417,879,000993,0002,392,064
5May 22, 2021 17:305,89836,235,36314,900,0003,973,0002,330,624
6May 22, 2021 17:305,90144,207,10216,895,0001,987,0002,326,528
7May 22, 2021 17:305,90347,401,92616,903,0001,988,0002,330,624
8May 22, 2021 17:305,91735,695,33315,945,0002,989,0002,527,232
9May 22, 2021 17:305,92547,987,64015,966,0002,993,0002,514,944
10May 22, 2021 17:305,93482,867,29418,988,57802,236,416
11May 22, 2021 17:305,94796,678,40319,030,63802,224,128
12May 22, 2021 17:305,96680,359,15219,090,25302,232,320
13May 22, 2021 17:305,98288,395,55719,142,71802,236,416
14May 22, 2021 17:306,00879,333,11919,224,98902,240,512
15May 22, 2021 17:306,04086,000,30019,329,28902,228,224