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 17, 2021 19:31Yuriy LyfenkoYuriy LyfenkoScore: 5,370Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:315,32979,634,23016,051,0001,003,0002,269,184
2May 17, 2021 19:315,3331,723,599,24715,170,0001,896,0002,265,088
3May 17, 2021 19:315,3432,732,922,42515,088,0002,011,0002,527,232
4May 17, 2021 19:315,34479,338,37717,100,00002,523,136
5May 17, 2021 19:315,3461,944,625,20316,101,0001,006,0002,265,088
6May 17, 2021 19:315,3671,095,671,92117,173,00002,527,232
7May 17, 2021 19:315,3701,859,042,55315,276,0001,909,0002,269,184
8May 17, 2021 19:315,3722,859,074,34117,191,00002,260,992
9May 17, 2021 19:315,4223,015,874,47516,386,000963,0002,265,088
10May 17, 2021 19:315,538675,016,01217,723,05802,281,472
11May 17, 2021 19:315,5413,012,753,24117,730,04002,281,472
12May 17, 2021 19:315,5732,006,899,54917,833,14702,277,376