Played Challenges
vim = 22 / 7 - 472 entries
pi square vim
- Best score: 20
- Best player score: 33
- Position: #98 / 134
- Number of attempts: 3
Python Hello World! Reformatting - 985 entries
A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.
- Best score: 39
- Best player score: 44
- Position: #211 / 378
- Number of attempts: 2
Swap assigned value - 643 entries
Simple problem but looking for interesting solutions.
- Best score: 10
- Best player score: 10
- Position: #18 / 253
- Number of attempts: 4
Cartesian product - 248 entries
{1,2,3,4,5} X {1,2,3,4,5}
- Best score: 24
- Best player score: 47
- Position: #83 / 94
- Number of attempts: 1
Words in parens - 12918 entries
We should all ace this, right?
- Best score: 13
- Best player score: 15
- Position: #1230 / 3957
- Number of attempts: 5
Groups magic - 158 entries
Regexp or macros for string converting: (a) -> ___ (abc) -> ____ (abcd) -> ______ All in the '(' replace to _ multiply by char count + ()
- Best score: 13
- Best player score: 15
- Position: #76 / 93
- Number of attempts: 1
abcd > a b c d - 290 entries
transform the single spaces into 4 spaces repeat for each line
- Best score: 15
- Best player score: 15
- Position: #51 / 221
- Number of attempts: 1
lamb had a little Mary - 598 entries
"Mary" and "lamb" are swapped. Unswap them. Fast as you can.
- Best score: 16
- Best player score: 66
- Position: #161 / 165
- Number of attempts: 1
SFD-ROC: vimvimvim - 1606 entries
Oh no, this line is longer than 80 chars... put each 'vim' on a new line.
- Best score: 8
- Best player score: 9
- Position: #177 / 446
- Number of attempts: 4
Saving the hashes(#) - 2048 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: 28
- Position: #284 / 478
- Number of attempts: 8
Vertical Limit - 2522 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 29
- Position: #617 / 751
- Number of attempts: 3
Aligning function arguments to match a specific coding style - 247 entries
Most projects have specific coding style guidelines. In this case, the argument list must be broken into a new line for each argument, with the argument names right aligned, taking into account pointers.
- Best score: 16
- Best player score: 28
- Position: #64 / 71
- Number of attempts: 5
Switch function arguments - 2117 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 15
- Position: #525 / 657
- Number of attempts: 3
switch variable - 5061 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 14
- Position: #1292 / 1743
- Number of attempts: 4
Ugly spreadsheet copy/paste to CSV - 998 entries
convert an ugly spreadsheet copy/paste into a CSV format.
- Best score: 19
- Best player score: 42
- Position: #124 / 190
- Number of attempts: 2
Line Zipper - 471 entries
Zip/pair related lines.
- Best score: 12
- Best player score: 16
- Position: #150 / 213
- Number of attempts: 1
remove dupes from array - 1347 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: 28
- Position: #284 / 334
- Number of attempts: 1
Case preserving word replacement - 454 entries
Half way through my project, my people turned into dogs. Now I have to change everything in my source.
- Best score: 19
- Best player score: 35
- Position: #175 / 180
- Number of attempts: 1
Complete the hex array data (Part II) - 166 entries
Do not use external tools(e.g. tac, seq) [My interpretation of Rule #7]
- Best score: 20
- Best player score: 26
- Position: #41 / 69
- Number of attempts: 3
imports alignment (python) - 700 entries
Align as one import per line.
- Best score: 17
- Best player score: 30
- Position: #150 / 198
- Number of attempts: 1
Rotating Philosophers Problem - 410 entries
Can you help the philosophers find a good place to sit before they get five forks and spaghetti?
- Best score: 29
- Best player score: 33
- Position: #122 / 166
- Number of attempts: 1
HTML to Haml - 878 entries
Help convert this HTML page to Haml.
- Best score: 23
- Best player score: 39
- Position: #101 / 204
- Number of attempts: 2
Overall Vimgolf Rank - 216 entries
Suppose you are trying to figure out what your overall rank is at Vimgolf(the sum of all the ranks you got), and as a Vim ninja you decided to use Vim to do the job. Your solution should work for every Vimgolf profile page(The actual input file for this challenge is my Vimgolf profile page). So, direct answer insertion is considered cheating.
- Best score: 21
- Best player score: 74
- Position: #58 / 59
- Number of attempts: 2
Numbering a List - 1926 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 20
- Position: #291 / 650
- Number of attempts: 4
Ruby 1.9 hashes - 1228 entries
Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!
- Best score: 12
- Best player score: 16
- Position: #287 / 403
- Number of attempts: 3
Assignment Alignment - 875 entries
line up the operators. Use spaces, not tabs.
- Best score: 18
- Best player score: 20
- Position: #78 / 218
- Number of attempts: 4
Shebangs for all - 1961 entries
We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.
- Best score: 11
- Best player score: 12
- Position: #96 / 506
- Number of attempts: 11
A Simple One - 1033 entries
Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...
- Best score: 9
- Best player score: 9
- Position: #149 / 656
- Number of attempts: 2
82 bottles of beer on the wall - 310 entries
Take them down. (sorry, only 82 bottles because the problem size is limited!)
- Best score: 106
- Best player score: 122
- Position: #47 / 144
- Number of attempts: 3
Table Reshuffle - 407 entries
Fix the column order in this table... also append the new 'username' column.
- Best score: 22
- Best player score: 46
- Position: #126 / 137
- Number of attempts: 2
Reverse and count - 470 entries
Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.
- Best score: 18
- Best player score: 43
- Position: #165 / 175
- Number of attempts: 2
Ruby 1.9 compat - 624 entries
Remember when Ruby supported `when <expr> :`? Well, it doesn't in 1.9, so let's make sure we use `then`, without ruining our lovely new hash syntax!
- Best score: 14
- Best player score: 18
- Position: #164 / 232
- Number of attempts: 1
Reverse Simple Deletion - 845 entries
You did the simple deletion, now reverse it.
- Best score: 11
- Best player score: 12
- Position: #231 / 457
- Number of attempts: 1
Increment, increment, increment.... - 677 entries
Vim likes macros
- Best score: 10
- Best player score: 12
- Position: #232 / 405
- Number of attempts: 1
Sorting paragraphs - 510 entries
Order the paragraphs correctly, per prefixed index
- Best score: 18
- Best player score: 38
- Position: #115 / 159
- Number of attempts: 2
Hatsuyume - 489 entries
http://en.wikipedia.org/wiki/Hatsuyume
- Best score: 15
- Best player score: 30
- Position: #132 / 181
- Number of attempts: 1
The Cake is a Lie - 1324 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 12
- Position: #471 / 521
- Number of attempts: 1
Fix the Haiku - 293 entries
Change this slightly scrambled haiku to its unscrambled form and fix the capitalisation and punctuation along the way.
- Best score: 28
- Best player score: 49
- Position: #95 / 112
- Number of attempts: 2
Context insensitive completion 0 - 558 entries
Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.
- Best score: 6
- Best player score: 7
- Position: #34 / 242
- Number of attempts: 3
Compile C - 387 entries
You might have to get clever to do this one.
- Best score: 19
- Best player score: 21
- Position: #37 / 135
- Number of attempts: 3
Context Insensitive completion 1 - 494 entries
Finish writing this simple Python HTTP server.
- Best score: 18
- Best player score: 19
- Position: #171 / 243
- Number of attempts: 2
Almost encrypted - 204 entries
Convert the first paragraph to be even less readable.
- Best score: 5
- Best player score: 5
- Position: #44 / 146
- Number of attempts: 5
Make Fancy Header - 1045 entries
Make the header text stand out with surrounding asterisks
- Best score: 15
- Best player score: 17
- Position: #166 / 342
- Number of attempts: 3
Reformat some Python - 604 entries
Fix some very bizarrely laid-out code.
- Best score: 34
- Best player score: 45
- Position: #141 / 235
- Number of attempts: 1
Change the content of a string - 1536 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 27
- Position: #422 / 576
- Number of attempts: 2
Deleting folded text - 348 entries
The text below contains three folds. Delete them (and the text inside them). For example: 123 456 /*{{{*/ 789 /*}}}*/ 012 Should become: 123 012 Also, add `aoeuaoeu` to make sure small solutions don't get flagged as cheating.
- Best score: 17
- Best player score: 21
- Position: #70 / 115
- Number of attempts: 3
Sort and add attributes - 1418 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 33
- Position: #155 / 551
- Number of attempts: 4
Reconstruct the Sentence - 1467 entries
Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.
- Best score: 20
- Best player score: 21
- Position: #164 / 403
- Number of attempts: 7
Flodder-challenge - 1219 entries
Replace the text the most efficient and win!
- Best score: 27
- Best player score: 37
- Position: #183 / 327
- Number of attempts: 3
Simple text editing with Vim - 12616 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 15
- Position: #2017 / 3650
- Number of attempts: 8
Reformat/Refactor a Golfer Class - 6821 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 37
- Position: #490 / 1671
- Number of attempts: 3