Ninjas Leaderboard
The two lines in "Start file" has an obfuscated email address. Second line give an index (from 1 to 30) to the chars list of the first line, for example, the first char of email (n) is in position 25, second char (i) is in position 19 and s.o.
Start file
['l', 'b', '@', 'o', 's', 'd', 'd', '.', 'L', 'a', 'm', 'o', 'f', 'c', 'm', 'g', 'r', 'v', 'r', 'i', 'o', 'e', 'a', 'j', 'e', 'n', 'i', 'n', '_', 'a'] [25, 19, 27, 23, 9, 4, 28, 8, 21, 22, 6, 24, 18, 1, 11, 29, 16, 5, 2, 17, 26, 10, 15, 20, 0, 12, 7, 13, 3, 14]
End file
['l', 'b', '@', 'o', 's', 'd', 'd', '.', 'L', 'a', 'm', 'o', 'f', 'c', 'm', 'g', 'r', 'v', 'r', 'i', 'o', 'e', 'a', 'j', 'e', 'n', 'i', 'n', '_', 'a'] [25, 19, 27, 23, 9, 4, 28, 8, 21, 22, 6, 24, 18, 1, 11, 29, 16, 5, 2, 17, 26, 10, 15, 20, 0, 12, 7, 13, 3, 14] ninjas_Leaderboard@vimgolf.com
View Diff
2a3 > ninjas_Leaderboard@vimgolf.com
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.
#41 MP / @Enemy_m - Score: 77 - 09/26/13 @ 18:40
y$:let a=<C-R>"<CR>+y$:let i=<C-R>"<CR>:for n in range(30)|pu=a[i[n]]|endfo<CR>3GqaJxq28@abXZZ
@Enemy_m: Learned some tricks from ninja Learderboard !
@zulolosi: 64 keystrokes pure vimscript solution: :$pu=join(map(eval(getline(2)),'eval(getline(1))[v:val]'),'')<CR>ZZ
2 comments