Flip All Bits
Perform a bitwise NOT operation on each bit, meaning that bits that are 0 become 1, and those that are 1 become 0.
Start file
binary0 = 0b00000000_00001001_00010010_00011011 binary1 = 0b00100100_00101101_00110110_00111111 binary2 = 0b01000000_01001001_01010010_01011011 binary3 = 0b01100100_01101101_01110110_01111111 binary4 = 0b10000000_10001001_10010010_10011011 binary5 = 0b10100100_10101101_10110110_10111111 binary6 = 0b11000000_11001001_11010010_11011011 binary7 = 0b11100100_11101101_11110110_11111111
End file
binary0 = 0b11111111_11110110_11101101_11100100 binary1 = 0b11011011_11010010_11001001_11000000 binary2 = 0b10111111_10110110_10101101_10100100 binary3 = 0b10011011_10010010_10001001_10000000 binary4 = 0b01111111_01110110_01101101_01100100 binary5 = 0b01011011_01010010_01001001_01000000 binary6 = 0b00111111_00110110_00101101_00100100 binary7 = 0b00011011_00010010_00001001_00000000
View Diff
1,8c1,8 < binary0 = 0b00000000_00001001_00010010_00011011 < binary1 = 0b00100100_00101101_00110110_00111111 < binary2 = 0b01000000_01001001_01010010_01011011 < binary3 = 0b01100100_01101101_01110110_01111111 < binary4 = 0b10000000_10001001_10010010_10011011 < binary5 = 0b10100100_10101101_10110110_10111111 < binary6 = 0b11000000_11001001_11010010_11011011 < binary7 = 0b11100100_11101101_11110110_11111111 --- > binary0 = 0b11111111_11110110_11101101_11100100 > binary1 = 0b11011011_11010010_11001001_11000000 > binary2 = 0b10111111_10110110_10101101_10100100 > binary3 = 0b10011011_10010010_10001001_10000000 > binary4 = 0b01111111_01110110_01101101_01100100 > binary5 = 0b01011011_01010010_01001001_01000000 > binary6 = 0b00111111_00110110_00101101_00100100 > binary7 = 0b00011011_00010010_00001001_00000000
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 15 remaining solutions by signing in and submitting your own entry
#16 aReigoto / @aReigoto - Score: 108 - 04/10/26 @ 10:06
fb<Esc><Right><C-Q><Down><Down><Down><Down><Down><Down><Down><Down><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>:<Up><Down>/<BS>s/\^%<BS><BS>%V0/.<BS>a/g<CR>:<Up><Left><Left><Left><Left><Left><Right><BS>0<Right><Right><Left><Left><BS>1<Right><Right><BS>0<CR>:<Up><Left><Left><Left><Left><BS>a<Right><Right><BS>a<BS>1<CR>ZZ
0 comments
VimGolf