Set right-adjacent bits: Difference between revisions
Content added Content deleted
m (More minor adjustments.) |
|||
Line 294: | Line 294: | ||
Input : 010000000000100000000010000000010000000100000010000010000100010010 |
Input : 010000000000100000000010000000010000000100000010000010000100010010 |
||
Result : 011110000000111100000011110000011110000111100011110011110111111111</pre> |
Result : 011110000000111100000011110000011110000111100011110011110111111111</pre> |
||
=={{header|C++}}== |
|||
<syntaxhighlight lang="c++"> |
|||
</syntaxhighlight> |
|||
{{ out }} |
|||
<pre> |
|||
</pre> |
|||
=={{header|F_Sharp|F#}}== |
=={{header|F_Sharp|F#}}== |