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 28, 2021 14:45Yuriy LyfenkoYuriy LyfenkoScore: 5,179Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 14:455,13436,592,51114,375,0002,053,0002,392,064
2May 28, 2021 14:455,13941,234,20815,419,0001,027,0002,265,088
3May 28, 2021 14:455,14138,083,88515,422,0001,028,0002,392,064
4May 28, 2021 14:455,14141,085,77916,452,00002,265,088
5May 28, 2021 14:455,15342,873,26816,490,00002,265,088
6May 28, 2021 14:455,15636,643,38315,467,0001,031,0002,265,088
7May 28, 2021 14:455,17942,078,73915,539,0001,035,0002,387,968
8May 28, 2021 14:455,18541,996,32816,593,00002,527,232
9May 28, 2021 14:455,19847,120,52215,594,0001,039,0002,396,160
10May 28, 2021 14:455,32744,009,11417,047,02202,269,184
11May 28, 2021 14:455,37171,284,67417,187,35302,277,376
12May 28, 2021 14:455,38579,647,77617,231,42602,285,568