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 04:48Yuriy 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 04:485,07042,429,07116,223,00002,404,352
2May 25, 2021 04:485,07133,497,15015,212,0001,014,0002,265,088
3May 25, 2021 04:485,07933,217,68715,237,0001,015,0002,265,088
4May 25, 2021 04:485,08032,783,09414,224,0002,032,0002,392,064
5May 25, 2021 04:485,08833,728,29714,247,0002,035,0002,400,256
6May 25, 2021 04:485,09839,296,07514,275,0002,039,0002,387,968
7May 25, 2021 04:485,10936,295,66315,328,0001,021,0002,527,232
8May 25, 2021 04:485,10933,644,23915,328,0001,021,0002,265,088
9May 25, 2021 04:485,14234,490,88416,454,00002,383,872
10May 25, 2021 04:485,28571,105,28716,913,25102,273,280
11May 25, 2021 04:485,30044,550,05816,960,33302,273,280
12May 25, 2021 04:485,34093,321,61217,087,54602,281,472