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 7, 2022 04:13Yuriy LyfenkoYuriy LyfenkoScore: 4,999Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 04:134,940550,656,65313,832,0001,976,0002,523,136
2Sep 7, 2022 04:134,944542,143,30813,844,0001,977,0002,527,232
3Sep 7, 2022 04:134,950543,054,55314,851,000990,0002,523,136
4Sep 7, 2022 04:134,983544,103,08713,954,0001,993,0002,260,992
5Sep 7, 2022 04:134,990542,024,06713,973,0001,996,0002,265,088
6Sep 7, 2022 04:134,999543,865,05314,997,000999,0002,523,136
7Sep 7, 2022 04:134,999543,692,30814,997,000999,0002,523,136
8Sep 7, 2022 04:135,001543,475,18915,004,0001,000,0002,523,136
9Sep 7, 2022 04:135,082540,457,16715,245,0001,016,0002,260,992
10Sep 7, 2022 04:135,130579,560,43616,415,13602,244,608
11Sep 7, 2022 04:135,157579,463,23716,502,60702,281,472
12Sep 7, 2022 04:135,172570,260,22916,549,41102,244,608