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 listSep 8, 2022 17:10Bernard TeoBernard TeoScore: 5,485Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 8, 2022 17:105,45267,887,72017,445,41902,289,664
2Sep 8, 2022 17:445,45982,020,05717,468,07902,285,568
3Sep 8, 2022 17:445,46756,063,40117,494,96502,293,760
4Sep 8, 2022 17:105,47081,272,58817,502,46802,293,760
5Sep 8, 2022 17:445,47086,403,70917,503,38102,293,760
6Sep 8, 2022 17:105,47254,910,21017,510,04202,269,184
7Sep 8, 2022 17:105,47791,601,05017,527,77102,281,472
8Sep 8, 2022 17:105,48566,039,27917,551,03302,297,856
9Sep 8, 2022 17:445,48676,958,70117,555,27502,301,952
10Sep 8, 2022 17:445,49286,157,27817,573,88702,285,568
11Sep 8, 2022 17:105,49383,608,74917,577,70602,297,856
12Sep 8, 2022 17:105,49579,312,04317,584,88202,293,760
13Sep 8, 2022 17:105,49691,140,88317,586,55202,269,184
14Sep 8, 2022 17:105,58684,973,02417,876,13502,265,088
15Sep 8, 2022 17:445,615102,184,33917,967,70102,256,896