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 30, 2021 16:47Yuriy LyfenkoYuriy LyfenkoScore: 5,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 16:475,26951,389,11915,869,000991,0002,392,064
2May 30, 2021 16:475,27441,929,63614,892,0001,985,0002,392,064
3May 30, 2021 16:475,27548,371,72814,895,0001,986,0002,265,088
4May 30, 2021 16:475,28132,427,15214,912,0001,988,0002,527,232
5May 30, 2021 16:475,29042,343,46215,934,000995,0002,265,088
6May 30, 2021 16:475,29841,956,47614,959,0001,994,0002,387,968
7May 30, 2021 16:475,29845,121,53514,960,0001,994,0002,400,256
8May 30, 2021 16:475,30336,149,81714,975,0001,996,0002,396,160
9May 30, 2021 16:475,33045,192,81916,053,0001,003,0002,269,184
10May 30, 2021 16:475,45973,092,09617,467,67902,281,472
11May 30, 2021 16:475,48679,511,72117,555,01102,281,472
12May 30, 2021 16:475,50774,760,03117,623,31202,281,472