Question 3 - inview

Points: 150

The key is in view, what is it? File

If the above link doesn’t work, please use this link.

Extract file with this code:

mv inview-324b8fb59c14da0d5ca1fe2c31192d80cec8e155 inview-324b8fb59c14da0d5ca1fe2c31192d80cec8e155.xz
xz -d inview-324b8fb59c14da0d5ca1fe2c31192d80cec8e155.xz

Then we can see some trailing whitespace in inview-324b8fb59c14da0d5ca1fe2c31192d80cec8e155.

How to Highlight Trailing Whitespace in Vim

Add this code to your .vimrc:

highlight ExtraWhitespace ctermbg=red guibg=red
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
autocmd InsertEnter * match ExtraWhitespace //
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
if version >= 702
  autocmd BufWinLeave * call clearmatches()

Then Vim highlights trailing whitespace to red color.

How to Solve

I felt something weird, so I converted the file to hex code. In Vim:


Looking at whitespace, I realized there are 09(Tab), 0A(New Line), 20(Space) with no rule. Right after that I came up with Whitespace. Also there is a interpreter written in JavaScript. Almost done! Just copy and paste the file content to site and press ‘Exec’ button. If you want to execute it in local, you can use whitespacers.

Finally the key is: