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 23, 2021 20:48Yuriy LyfenkoYuriy LyfenkoScore: 5,087Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 20:485,02631,098,19314,074,0002,010,0002,265,088
2May 23, 2021 20:485,05138,841,33914,143,0002,020,0002,265,088
3May 23, 2021 20:485,05730,853,88115,171,0001,011,0002,269,184
4May 23, 2021 20:485,08041,184,61616,257,00002,265,088
5May 23, 2021 20:485,08141,533,84614,228,0002,032,0002,265,088
6May 23, 2021 20:485,08638,513,05114,240,0002,034,0002,265,088
7May 23, 2021 20:485,08742,816,80615,261,0001,017,0002,383,872
8May 23, 2021 20:485,09245,708,76915,276,0001,018,0002,387,968
9May 23, 2021 20:485,10340,167,09415,309,0001,020,0002,527,232
10May 23, 2021 20:485,30881,443,56216,984,46402,285,568
11May 23, 2021 20:485,33093,634,42617,057,40002,281,472
12May 23, 2021 20:485,34883,869,20817,112,86402,281,472