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 16, 2021 17:59Yuriy LyfenkoYuriy LyfenkoScore: 5,430Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 17:595,3934,246,186,71515,228,0002,030,0002,269,184
2May 16, 2021 17:595,4054,240,775,73816,280,0001,017,0002,519,040
3May 16, 2021 17:595,4104,241,052,47515,276,0002,036,0002,260,992
4May 16, 2021 17:595,4174,242,472,67515,295,0002,039,0002,260,992
5May 16, 2021 17:595,4204,242,738,90516,325,0001,020,0002,510,848
6May 16, 2021 17:595,4254,244,953,71517,360,00002,523,136
7May 16, 2021 17:595,4304,243,087,32317,377,00002,269,184
8May 16, 2021 17:595,4334,245,593,94317,386,00002,523,136
9May 16, 2021 17:595,4404,245,088,95316,384,0001,024,0002,523,136
10May 16, 2021 17:595,6234,279,567,76317,994,10302,281,472
11May 16, 2021 17:595,6514,286,740,03718,082,97902,281,472
12May 16, 2021 17:595,6644,297,948,38618,125,68302,277,376