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 03:06Yuriy LyfenkoYuriy LyfenkoScore: 4,464Success
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 03:064,410538,400,06812,096,0002,016,0002,396,160
2Sep 7, 2022 03:064,432539,153,74112,157,0002,026,0002,523,136
3Sep 7, 2022 03:064,433544,902,91413,171,0001,013,0002,523,136
4Sep 7, 2022 03:064,438543,097,74613,189,0001,014,0002,392,064
5Sep 7, 2022 03:064,444544,224,03312,189,0002,031,0002,260,992
6Sep 7, 2022 03:064,444539,579,16712,191,0002,031,0002,523,136
7Sep 7, 2022 03:064,464542,564,68314,285,00002,523,136
8Sep 7, 2022 03:064,468536,415,91314,298,00002,523,136
9Sep 7, 2022 03:064,573544,249,03513,589,0001,045,0002,260,992
10Sep 7, 2022 03:064,593579,347,60614,698,90202,244,608
11Sep 7, 2022 03:064,604576,823,07114,732,32402,240,512
12Sep 7, 2022 03:064,616577,772,84214,771,05502,281,472