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:43Yuriy LyfenkoYuriy LyfenkoScore: 5,276Success
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:435,21237,728,16915,635,0001,042,0002,527,232
2May 25, 2021 15:435,22444,103,33216,716,00002,265,088
3May 25, 2021 15:435,25842,839,77214,848,0001,979,0002,265,088
4May 25, 2021 15:435,26143,871,92215,846,000990,0002,523,136
5May 25, 2021 15:435,27230,574,00215,879,000992,0002,527,232
6May 25, 2021 15:435,27551,621,80816,879,00002,392,064
7May 25, 2021 15:435,27641,521,71515,889,000993,0002,387,968
8May 25, 2021 15:435,27832,232,44816,888,00002,396,160
9May 25, 2021 15:435,28932,770,55715,929,000995,0002,387,968
10May 25, 2021 15:435,42485,619,31317,356,18002,273,280
11May 25, 2021 15:435,43155,942,69817,379,51702,269,184
12May 25, 2021 15:435,49451,919,65017,580,40602,269,184