Played Challenges
Wrap the text of an email message to 79 characters - 868 entries
You're replying to an email with silly long lines. Clean them up.
- Best score: 5
- Best player score: 5
- Position: #36 / 451
- Number of attempts: 2
Search and Replace 0 - 5159 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #100 / 1674
- Number of attempts: 4
Interweave two blocks of text - 692 entries
Suppose you've got data on a list of things from multiple sources. They're all in separate chunks, so how might you create a tabular output?
- Best score: 15
- Best player score: 17
- Position: #67 / 217
- Number of attempts: 1
Python Hello World! Reformatting - 1048 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: #227 / 398
- Number of attempts: 1
Recursively Palindrome - 290 entries
Note that there are 2^6-1 characters.
- Best score: 21
- Best player score: 24
- Position: #35 / 76
- Number of attempts: 4
Replacing some words - 445 entries
How fast could it be?
- Best score: 17
- Best player score: 20
- Position: #51 / 152
- Number of attempts: 3
Multiplication table. - 240 entries
Create a multiplication table.
- Best score: 31
- Best player score: 52
- Position: #21 / 70
- Number of attempts: 2
Sort the cardinal numbers - 328 entries
Maybe a simple challenge.
- Best score: 12
- Best player score: 14
- Position: #72 / 151
- Number of attempts: 1
formatted text to markdown - 193 entries
You're converting some posts from an old blog to markdown. The formatted text is far closer to the finished product than the html markup, so it seems like a good place to start. Word wrapping seems to be the main area for optimization.
- Best score: 70
- Best player score: 77
- Position: #29 / 69
- Number of attempts: 2
Line Zipper - 480 entries
Zip/pair related lines.
- Best score: 12
- Best player score: 16
- Position: #97 / 217
- Number of attempts: 2
Case preserving word replacement - 477 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: 19
- Position: #7 / 186
- Number of attempts: 2
Complete the hex array data (Part II) - 192 entries
Do not use external tools(e.g. tac, seq) [My interpretation of Rule #7]
- Best score: 20
- Best player score: 22
- Position: #10 / 72
- Number of attempts: 1
imports alignment (python) - 721 entries
Align as one import per line.
- Best score: 17
- Best player score: 17
- Position: #3 / 202
- Number of attempts: 1
Rotating Philosophers Problem - 421 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: 30
- Position: #42 / 169
- Number of attempts: 1
HTML to Haml - 905 entries
Help convert this HTML page to Haml.
- Best score: 23
- Best player score: 33
- Position: #83 / 207
- Number of attempts: 3
expand a list comprehension (python) - 348 entries
Please show your way to convert a list comprehension in python to an ordinary for-loop expression!
- Best score: 42
- Best player score: 42
- Position: #1 / 111
- Number of attempts: 9
Numbering a List - 1969 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 19
- Position: #192 / 661
- Number of attempts: 5
Java Array2List - 239 entries
Convert an java array initializer into a list.
- Best score: 67
- Best player score: 85
- Position: #25 / 88
- Number of attempts: 3
Ruby 1.9 hashes - 1312 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: 12
- Position: #15 / 419
- Number of attempts: 7
Shebangs for all - 2103 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: #108 / 533
- Number of attempts: 6
82 bottles of beer on the wall - 329 entries
Take them down. (sorry, only 82 bottles because the problem size is limited!)
- Best score: 106
- Best player score: 133
- Position: #87 / 149
- Number of attempts: 1
Table Reshuffle - 468 entries
Fix the column order in this table... also append the new 'username' column.
- Best score: 22
- Best player score: 29
- Position: #61 / 145
- Number of attempts: 3
Letters are numbers - 179 entries
Letters and numbers are interchangeable. A lot of programming languages give you simple ways to convert individual letters to hex, binary and decimal but does Vim?
- Best score: 20
- Best player score: 26
- Position: #25 / 78
- Number of attempts: 3
Another Mixed-Up Haiku - 280 entries
VimGolf ... a perfect evening?
- Best score: 21
- Best player score: 28
- Position: #66 / 92
- Number of attempts: 1
Ruby 1.9 compat - 661 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: 14
- Position: #16 / 241
- Number of attempts: 2
Increment, increment, increment.... - 706 entries
Vim likes macros
- Best score: 10
- Best player score: 12
- Position: #188 / 416
- Number of attempts: 1
The Cake is a Lie - 1418 entries
Correct the capitalization of each word
- Best score: 8
- Best player score: 9
- Position: #85 / 543
- Number of attempts: 4
Context insensitive completion 0 - 605 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: #40 / 255
- Number of attempts: 4
Compile C - 454 entries
You might have to get clever to do this one.
- Best score: 19
- Best player score: 21
- Position: #45 / 146
- Number of attempts: 1
Context Insensitive completion 1 - 532 entries
Finish writing this simple Python HTTP server.
- Best score: 18
- Best player score: 19
- Position: #179 / 252
- Number of attempts: 1
Make Fancy Header - 1108 entries
Make the header text stand out with surrounding asterisks
- Best score: 15
- Best player score: 16
- Position: #34 / 356
- Number of attempts: 4
Reformat some Python - 657 entries
Fix some very bizarrely laid-out code.
- Best score: 34
- Best player score: 39
- Position: #87 / 247
- Number of attempts: 4
Reformat a C golf submission - 678 entries
Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.
- Best score: 22
- Best player score: 32
- Position: #115 / 220
- Number of attempts: 3
PEP8 Python Wrapping Comments and Code - 241 entries
According to PEP8, long flowy text and code should have different max line lengths. Code: 79 characters max Long flowy text: 72 characters max
- Best score: 21
- Best player score: 26
- Position: #24 / 74
- Number of attempts: 3
Reformat most common surnames - 834 entries
Reformat copy-pasted table into a list of the most common surnames
- Best score: 23
- Best player score: 35
- Position: #161 / 238
- Number of attempts: 1
Change the content of a string - 1799 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 22
- Position: #40 / 655
- Number of attempts: 3
Deleting folded text - 428 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: #77 / 130
- Number of attempts: 1
Sort and add attributes - 1591 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 33
- Position: #53 / 615
- Number of attempts: 2
Braces or Brackets? - 1201 entries
Someone forgot whether to use braces or brackets and you have to clean up their code!
- Best score: 34
- Best player score: 43
- Position: #150 / 362
- Number of attempts: 2
Flodder-challenge - 1500 entries
Replace the text the most efficient and win!
- Best score: 27
- Best player score: 37
- Position: #213 / 378
- Number of attempts: 3
VimGolf