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 24, 2021 20:06Yuriy LyfenkoYuriy LyfenkoScore: 5,102Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 20:065,05635,083,62314,158,0002,022,0002,265,088
2May 24, 2021 20:065,06541,195,21314,183,0002,026,0002,400,256
3May 24, 2021 20:065,07932,869,02614,222,0002,031,0002,387,968
4May 24, 2021 20:065,08245,913,19215,245,0001,016,0002,265,088
5May 24, 2021 20:065,09032,642,78116,289,00002,265,088
6May 24, 2021 20:065,09438,181,62715,284,0001,018,0002,387,968
7May 24, 2021 20:065,10238,253,00214,285,0002,040,0002,527,232
8May 24, 2021 20:065,10838,002,65616,345,00002,265,088
9May 24, 2021 20:065,11736,305,74016,373,00002,265,088
10May 24, 2021 20:065,25556,076,61316,817,10702,277,376
11May 24, 2021 20:065,29343,789,09316,937,20502,289,664
12May 24, 2021 20:065,34992,503,66017,115,63502,281,472