Santa's naughty / nice list
Christmas is here and Santa hasn't decided who's naughty or nice yet. He's given a list of names to his programmer friend to quickly split the children into naughty and nice. Hint: There's a hidden pattern that might be familiar.
Start file
Ayden Jayden Linnett Sam Zooey Wyn Winter Wynne Madelyn Michael Jessica Thomas Olivia Maria Julia Aaron Iris Adrian Nathaniel Alice Margaret Miranda Oliver Philip Phoebe Marcus Arthur Tatiana Robin Ophelia
End file
nice Ayden nice Jayden naughty Linnett nice Sam naughty Zooey naughty Wyn nice Winter nice Wynne naughty Madelyn naughty Michael nice Jessica naughty Thomas nice Olivia nice Maria naughty Julia nice Aaron nice Iris naughty Adrian nice Nathaniel naughty Alice naughty Margaret nice Miranda nice Oliver naughty Philip naughty Phoebe nice Marcus naughty Arthur nice Tatiana nice Robin naughty Ophelia
View Diff
1,30c1,30 < Ayden < Jayden < Linnett < Sam < Zooey < Wyn < Winter < Wynne < Madelyn < Michael < Jessica < Thomas < Olivia < Maria < Julia < Aaron < Iris < Adrian < Nathaniel < Alice < Margaret < Miranda < Oliver < Philip < Phoebe < Marcus < Arthur < Tatiana < Robin < Ophelia --- > nice Ayden > nice Jayden > naughty Linnett > nice Sam > naughty Zooey > naughty Wyn > nice Winter > nice Wynne > naughty Madelyn > naughty Michael > nice Jessica > naughty Thomas > nice Olivia > nice Maria > naughty Julia > nice Aaron > nice Iris > naughty Adrian > nice Nathaniel > naughty Alice > naughty Margaret > nice Miranda > nice Oliver > naughty Philip > naughty Phoebe > nice Marcus > naughty Arthur > nice Tatiana > nice Robin > naughty Ophelia
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 22 remaining solutions by signing in and submitting your own entry
#23 pankaj singh / @pankajsingh013 - Score: 93 - 01/08/19 @ 22:34
:%s/^/nice /gc<CR>yynynnyynnynyynyynynnyynnynyyn:<Up><Left><Left><Left><Left><BS><BS><BS>aughty<CR>nnynyynnyynynnynnynyynnyynynnyZZ
0 comments