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 25, 2021 15:38Yuriy LyfenkoYuriy LyfenkoScore: 5,109Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:385,05141,597,01114,144,0002,020,0002,506,752
2May 25, 2021 15:385,05741,967,61314,159,0002,022,0002,265,088
3May 25, 2021 15:385,06330,944,27514,178,0002,025,0002,265,088
4May 25, 2021 15:385,06340,705,39014,178,0002,025,0002,392,064
5May 25, 2021 15:385,07131,641,74215,213,0001,014,0002,527,232
6May 25, 2021 15:385,08338,770,18615,248,0001,016,0002,392,064
7May 25, 2021 15:385,10945,150,43516,350,00002,400,256
8May 25, 2021 15:385,12229,847,67916,391,00002,265,088
9May 25, 2021 15:385,13133,119,02316,420,00002,265,088
10May 25, 2021 15:385,27748,021,17516,887,74102,273,280
11May 25, 2021 15:385,29984,518,32716,955,79502,277,376
12May 25, 2021 15:385,41844,572,37217,337,86902,273,280