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 13, 2021 23:29Yuriy LyfenkoYuriy LyfenkoScore: 5,465Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 23:295,42837,375,27816,347,0001,021,0002,396,160
2May 13, 2021 23:295,43348,519,79715,340,0002,045,0002,260,992
3May 13, 2021 23:295,43439,831,88917,390,00002,392,064
4May 13, 2021 23:295,43534,121,12915,347,0002,046,0002,396,160
5May 13, 2021 23:295,43936,794,73616,383,0001,023,0002,523,136
6May 13, 2021 23:295,46334,220,94217,482,00002,506,752
7May 13, 2021 23:295,46539,078,99715,430,0002,057,0002,523,136
8May 13, 2021 23:295,46544,475,14216,461,0001,028,0002,400,256
9May 13, 2021 23:295,50042,367,29615,530,0002,070,0002,265,088
10May 13, 2021 23:295,65484,776,22718,094,28702,285,568
11May 13, 2021 23:295,66776,749,57318,133,92302,281,472
12May 13, 2021 23:295,69761,180,14818,231,65602,285,568