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 30, 2022 13:43Keichi TakahashiKeichi TakahashiScore: 5,270Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 13:435,21943,832,42215,657,0001,043,0002,265,088
2May 30, 2022 13:435,22344,195,83016,714,00002,387,968
3May 30, 2022 13:435,22445,555,35615,673,0001,044,0002,265,088
4May 30, 2022 13:435,22944,174,53915,688,0001,045,0002,387,968
5May 30, 2022 13:435,23338,204,96315,701,0001,046,0002,265,088
6May 30, 2022 13:435,25842,915,13614,847,0001,979,0002,383,872
7May 30, 2022 13:435,27031,908,64315,872,000992,0002,383,872
8May 30, 2022 13:435,27046,527,78216,865,00002,265,088
9May 30, 2022 13:435,27334,765,96715,882,000992,0002,265,088
10May 30, 2022 13:435,45481,146,88717,453,72202,285,568
11May 30, 2022 13:435,45974,634,75617,467,24102,273,280
12May 30, 2022 13:435,46378,227,70517,480,30602,269,184