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 11, 2021 18:11Yuriy LyfenkoYuriy LyfenkoScore: 6,210Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 15:086,10840,720,91119,547,00002,330,624
2May 11, 2021 15:086,11447,708,61217,507,0002,059,0002,514,944
3May 11, 2021 15:086,11542,479,35919,569,00002,326,528
4May 11, 2021 15:086,13045,958,88117,551,0002,064,0002,514,944
5May 11, 2021 15:086,14147,968,23218,616,0001,034,0002,326,528
6May 11, 2021 15:086,15136,884,62816,575,0003,107,0002,326,528
7May 11, 2021 18:116,173117,642,34419,754,97302,215,936
8May 11, 2021 15:086,21091,912,06619,872,58102,220,032
9May 11, 2021 15:086,21045,311,38416,891,0002,980,0002,519,040
10May 11, 2021 15:086,21043,640,43517,885,0001,987,0002,326,528
11May 11, 2021 15:086,21147,181,94018,882,000993,0002,519,040
12May 11, 2021 15:086,21298,981,91619,878,20102,220,032
13May 11, 2021 18:116,26982,155,18820,061,98602,220,032
14May 11, 2021 15:086,27097,023,11220,063,96902,232,320
15May 11, 2021 18:116,30089,207,36520,158,65902,220,032