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 19, 2021 23:38Yuriy LyfenkoYuriy LyfenkoScore: 5,303Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:385,27042,492,90214,881,0001,984,0002,392,064
2May 19, 2021 23:385,27248,663,30214,886,0001,984,0002,260,992
3May 19, 2021 23:385,27243,445,67915,878,000992,0002,265,088
4May 19, 2021 23:385,27432,490,44415,885,000992,0002,396,160
5May 19, 2021 23:385,27734,397,46415,892,000993,0002,519,040
6May 19, 2021 23:385,27748,277,99116,886,00002,260,992
7May 19, 2021 23:385,29241,206,07113,759,0003,175,0002,523,136
8May 19, 2021 23:385,30331,881,43614,973,0001,996,0002,260,992
9May 19, 2021 23:385,31232,998,95115,999,000999,0002,523,136
10May 19, 2021 23:385,48788,802,31917,558,34702,281,472
11May 19, 2021 23:385,50386,912,19117,609,12502,281,472
12May 19, 2021 23:385,50384,143,35117,609,03402,281,472
13May 19, 2021 23:385,51494,708,52517,643,97302,269,184
14May 19, 2021 23:385,54075,635,70417,726,67602,269,184
15May 19, 2021 23:385,56878,582,29817,818,51602,285,568