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 28, 2021 07:04Yuriy LyfenkoYuriy LyfenkoScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 07:045,23246,995,36415,696,0001,046,0002,387,968
2May 28, 2021 07:045,26343,369,04515,852,000990,0002,387,968
3May 28, 2021 07:045,27037,054,20314,880,0001,984,0002,392,064
4May 28, 2021 07:045,27132,564,68314,882,0001,984,0002,265,088
5May 28, 2021 07:045,27236,758,05115,877,000992,0002,265,088
6May 28, 2021 07:045,27234,979,30914,886,0001,984,0002,265,088
7May 28, 2021 07:045,27349,599,29416,872,00002,527,232
8May 28, 2021 07:045,27643,631,56815,889,000993,0002,265,088
9May 28, 2021 07:045,28534,634,21714,923,0001,989,0002,392,064
10May 28, 2021 07:045,46271,742,24217,478,67202,281,472
11May 28, 2021 07:045,46956,021,93417,501,46802,273,280
12May 28, 2021 07:045,79766,802,94618,549,18802,281,472