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 13, 2021 06:09Andrey BurovAndrey BurovScore: 6,093Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 06:096,06938,324,88419,421,00002,330,624
2May 13, 2021 06:096,07146,553,52518,404,0001,022,0002,334,720
3May 13, 2021 06:096,07341,962,45619,433,00002,482,176
4May 13, 2021 06:096,08943,285,20916,409,0003,076,0002,330,624
5May 13, 2021 06:096,09044,021,88418,463,0001,025,0002,490,368
6May 13, 2021 06:096,09342,162,91617,445,0002,052,0002,330,624
7May 13, 2021 06:096,09339,494,34216,419,0003,078,0002,330,624
8May 13, 2021 06:096,11442,553,04817,505,0002,059,0002,330,624
9May 13, 2021 06:096,12345,110,77618,561,0001,031,0002,330,624
10May 13, 2021 06:096,14672,029,89819,668,79202,195,456
11May 13, 2021 06:096,15766,364,88719,702,20502,195,456
12May 13, 2021 06:096,22184,821,15819,907,82402,187,264