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 listJul 13, 2021 19:36Yuriy LyfenkoYuriy LyfenkoScore: 5,677Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:365,641540,414,45215,042,0003,008,0002,330,624
2Jul 13, 2021 19:365,641542,770,31816,047,0002,005,0002,330,624
3Jul 13, 2021 19:365,663548,036,79816,108,0002,013,0002,330,624
4Jul 13, 2021 19:365,666545,026,26316,117,0002,014,0002,330,624
5Jul 13, 2021 19:365,668541,109,87515,114,0003,022,0002,527,232
6Jul 13, 2021 19:365,676543,512,74815,136,0003,027,0002,342,912
7Jul 13, 2021 19:365,677539,863,43115,139,0003,027,0002,330,624
8Jul 13, 2021 19:365,691576,572,65318,211,30702,252,800
9Jul 13, 2021 19:365,695548,597,72316,200,0002,025,0002,514,944
10Jul 13, 2021 19:365,701577,983,37818,242,34802,224,128
11Jul 13, 2021 19:365,703539,513,09915,207,0003,041,0002,527,232
12Jul 13, 2021 19:365,798578,951,39918,554,88702,228,224