Played Challenges
Find fix point of cos - 1403 entries
Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.
- Best score: 14
- Best player score: 15
- Position: #135 / 416
- Number of attempts: 1
Simple, Practical, and Common - 33621 entries
Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.
- Best score: 22
- Best player score: 22
- Position: #1765 / 7422
- Number of attempts: 4
Box it - 7906 entries
Create a box around a line.
- Best score: 21
- Best player score: 22
- Position: #476 / 1877
- Number of attempts: 1
html paragraph to table - 606 entries
reformat html paragraph to table
- Best score: 48
- Best player score: 61
- Position: #79 / 126
- Number of attempts: 2
Search and Replace 0 - 4990 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 13
- Position: #809 / 1625
- Number of attempts: 3
Two become one - 713 entries
We have two c arrays and want to make one two dimensional out of it. Can we do that?
- Best score: 25
- Best player score: 26
- Position: #17 / 208
- Number of attempts: 7
A HAPPY NEW YEAR 2014 ! - 10669 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 12
- Position: #1804 / 3684
- Number of attempts: 2
Counting in binary - 526 entries
"a" represents 0; "A" represents 1. Start from zero and count to 15.
- Best score: 16
- Best player score: 32
- Position: #55 / 117
- Number of attempts: 2
quotes inside quotes - 3165 entries
taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)
- Best score: 14
- Best player score: 14
- Position: #145 / 1079
- Number of attempts: 5
Words in parens - 12939 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #365 / 3964
- Number of attempts: 6
paste indent correction - JS - 112 entries
You copy some javascript code from a website and paste it into vim, it does not look good!
- Best score: 16
- Best player score: 16
- Position: #29 / 59
- Number of attempts: 2
Saving the hashes(#) - 2063 entries
The following file is copied from vimcasts.org(Its only for learning purpose,hope the site owner doesn't mind it), its probably the easiest of challenges.Our goal is to delete every line which doesn't contain a hash signs. The remaining hash signs with numbers are then sorted to get the final output.
- Best score: 20
- Best player score: 21
- Position: #97 / 480
- Number of attempts: 8
switch variable - 5079 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 12
- Position: #820 / 1749
- Number of attempts: 3
remove dupes from array - 1358 entries
given a random string that contains a ruby-esque array, make sure that there are no duplicate elements
- Best score: 17
- Best player score: 18
- Position: #99 / 336
- Number of attempts: 5
Reverse characters in a line - 771 entries
You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.
- Best score: 12
- Best player score: 13
- Position: #80 / 265
- Number of attempts: 4
Sort and add attributes - 1454 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 33
- Position: #178 / 565
- Number of attempts: 1