Under construction
This is a test of golf server.
You can enjoy short coding here in several languages (69 languages).
The purpose of this server is not serious competition.
Joke problems are welcomed and
you can speak freely about problems and can release spoilers.
For serious competition with ranking,
enter Code Golf.
IRC channel for this golf server: #anagol in freenode. Please feel free to join the channel to talk about various things around golf.
Mark Byers kindly prepared a site for this golf server. If you would like to join to add tips, please ask Mark to add you as a collaborator (supposedly, in IRC?).
I've just understood how to create too short entries (thanks for nazo). However, it seems not to be easy to fix the bug. I'll work on the problem in near future and I'll remove entries which is considered to use the bug. Thanks for understanding.
Active problems
- 222. PTR 1day(s) and 8:49:28 left (07/04 18:29:29 JST)
- 223. nth root of v 6day(s) and 16:29:47 left (07/10 02:09:48 JST)
Hot post mortems
All problems
- hello world
- echo
- 99 shinichiroes of hamaji
- example_com
- Smileys Triangle
- tennis
- permutater
- delete blank lines
- Dancing Kids
- bowling scorer
- e
- Hamming Numbers
- Hole in one
- ultimate problem
- Card Sharp
- even lines
- sort characters
- Square root
- Fibonacci Numbers
- prime numbers
- invert case
- Expression
- All Expressions
- LCS
- delete last line
- swap lines
- rotate lines
- transpose lines
- exit status
- multi_key sort
- show the way
- Booklet Printing
- Tak y
- FizzBuzz
- Little Endian Calculator
- infix to postfix
- Greatest Common Divisor
- banner
- HQ9Plus
- Least Common Multiple
- judge Janken
- delete duplicate lines
- reverse lines
- palindromize
- Phone Key Pad
- L system
- easy regexp
- google
- Tetris
- Evil C Compiler
- Bracket Matching
- Nearest Smaller Value fixed version
- right time
- Circle Art
- join lines
- duplicate lines
- inverse matrix
- maze solving
- 128 bits
- Summation
- Rule 30
- Sierpinski Fractal
- 123
- edlin
- Mirroring Character
- The Golden Ratio
- factoriazation
- Quine
- Life game
- chemical equation
- Caesar cipher
- delete words
- BWT
- Reverse BWT
- Numeral system
- print file
- Look and say
- Twin primes
- Two Dice of A sides
- Ring world
- 100
- ieee754
- Text Compression
- Timeout
- odd lines
- Inverse problem
- ISBN2
- Elias delta to Fibonacci
- Sphenic Numbers
- Trace characters
- NOT gate
- Bronspeak
- packed UTF 9
- Nothing
- Print numbers _Revised_
- Factorial
- LED counter
- Divide the rectangle
- Bessel function J_0
- permission list
- leap year
- postfix to infix
- Palindromic Quine
- Underload interpreter
- Minimal scheme interpreter
- reverse entire input
- sum input
- uudecode
- Transpose
- rot13
- Number lines
- Peak Detection
- simple language
- Multiply
- Multiply long version
- Drop first line
- RPN calculator FIXED NO REALLY
- Encoder decoder
- Calculator
- Permutations
- cut string
- Duplicate characters
- Word frequency count FIXED
- segs
- stratum
- exec
- red black tree
- checkers pattern
- stable partition
- nop
- alternating harmonic series
- Minimum Spanning Tree
- Set symmetric difference
- binary alnum symbol
- Topological Sorting
- Print out a lot _56K BEWARE_
- 1000 digits
- Morse decode
- trivial encoder
- embed
- Runge Kutta
- Day of the Week
- Go capture
- Table of divisors
- putter golf for Ruby kaigi
- Compound interest
- Japanese numeral for Ruby kaigi
- slope lines
- duplicate certain lines _A_
- duplicate certain lines _C_
- N Queens
- baker problem
- count down
- sum of square numbers
- Brainfuck
- Brainfuck FIXED
- ASCII from 0x01 to 0x7f
- swab
- main
- expand text
- ASCII Stars
- Binary Multiplication
- Repeating Decimal
- v
- CALC fixed
- 196 algorithm
- Double Parity Vertical Redundancy Check
- Simultaneous Equations FIXXED
- Sierpinski Carpet
- Easter
- Monster group
- irc
- Derivative
- Small Change
- character subsets
- Ranking
- Ranking __REVENGE__
- Alnum challenge
- Church Numerals in ski
- LCM of 1 to n
- GCD of 1 to n
- cal
- X
- Error
- Whitespaceless Hello world
- bubble sort
- Y
- Z
- 4 in 3
- XYZ
- XYZ _Revised_
- Polynomial Sequences
- double back lines
- Choose
- apple lines
- Maximum Cyclic Segment Sum
- happy new year
- Koch Island
- Plot Circle
- Up and Down
- numwarp
- FF PP ZZ
- rotate lines reversely
- Tak z _FIXED_
- quote box
- wave line
- Walk the line
- Helloworldless Hello world
- number slide
- hexagon 2nd fixed
- numof 1 bits in 0 to 255
- Directions of the star road
- uniq words
- capital and small letters
- plastic constant
- flower
- apery constant
- Gray code
- Linear Congruences
- simple octagon tesselation
- log
- PTR
- nth root of v
create new problem
recent records
language ranking
performance checker
caddy, a testing/squeezing/submission helper tool for golfers
News
- added Asymptote (thanks notogawa for suggestion!).
- added Maxima (thanks yshl!) and REBOL (thanks Jos'h!). I couldn't find the best suffixes for them. I couldn't find commonly used suffix for Maxima. REBOL's "r" was already used by R. If you know better suffixes for them, please let me know.
- added LMNtal.
- I forgot to mention this... There is a twitter account which reports the recent activities: http://twitter.com/mircbot. You may able to use its RSS as well.
- updated the interpreter of Universal Lambda. See the official site for the information how this changed. Also, added disassembled view of Universal Lambda. See this code for example.
- added Universal Lambda. Thanks flagitious!
- added Cyan (sorry, there seem to be no English docs).
- added Nemerle 0.9.3, QCL 0.6.3 with this patch, and Kite 1.0b6.
- added DOS using dosemu.
- now grass interpreter is OCaml version. Thanks YT!
- submission size limit (CONTENT_LENGTH) was relaxed from 10k to 20k.
- added Grass. Now we are using grass.rb. If you want to use faster implementation, please recommend me better implementations.
- ruby 1.8.7.
- allow more time for R (you have 2 sec for 3 test cases problems, 2.5 secs for 2 test cases, and 4 secs for 1 test case) since its invocation seems to take more than one second.
- updated execution server (Ubuntu edgy => gutsy). Many languages are updated (the detail will be described). Maybe now you can use standard input from /dev/fd/0. As usual :(, there may be several bugs. Please report me if you find bugs.
- made the system allow >65336 bytes outputs (this is the limit of linux pipe) for this this challenge. thanks yshl for investigating.
- added R (2.3.1). As of this time, I think we cannot use stdin. I'll investigate way to do...
- updated version of D (2.010), Io (20080209).
- added JVM, Groovy. Unfortunately, Scala was too slow in my attempts (it didn't solve hello world with 12sec timeout). (2008-02-17 added) Sorry, all groovy problem was considered as using exec. I'm not sure, but I've fixed the problem for easy ones.
- updated goruby's version using revision 15046.
- released caddy, a helper tool for golfers. You can test your solution, squeeze (remove comments or unnecessary whitespaces) your code, and submit the solution with this tool. Please unpack the package and check README for details. (I fixed a bug of database. Please re-download the package again if your caddy doesn't work correctly)
- updated goruby using this version. The most significant change might be the faster method_missing, which is provided by eban and flagitious. Thanks for the great contribution!
- added "name grep" to language summary page. This patch is provided by flagitious. Also, fixed binary escape for \x1a-\x1f, suggested by Pla. Thanks two guys!
- updated golfscript using new version and ruby1.9.
- added language summary page. You can access the page from language ranking. These information will be updated every 10 minutes. Uploaded the newest source code of this server.
- added goruby, which is a kind of joke program but is *officially* bundled in ruby-1.9.0-0 package (you can create the binary by "make golf"). I think there are two features: 1. Kernel#h method, which outputs Hello, world! 2. short method names: you can call Kernel#print using "pr". This feature is implemented by method_missing.
- added Vim as a language. You should make the buffer match the expected output given by each problem. The buffer is initialized using the standard input of the problem. For example, "ddZZ" can be the 4B solution of "delete first line" challenge.
- added GolfScript, a stack oriented esoteric language developped by flagitious. I'm pretty sure this language can be the #1 language of this site. Though the first purpose of this language might be golfing, its computation model is interesting, too. Thanks flagitious for this nice work!
- added Z80 as a language. Please check out the description of the environment made by mokehehe. Thanks mokehehe for suggesting and providing the environment!
- according to flagitious's suggestion, I relaxed timeout policy: you have 1 sec for 3 test cases problems, 1.5 secs for 2 test cases, and 3 secs for 1 test case.
- deploy new exec filter into all problems. It makes program ~10 times faster. Please tell me if you find some bugs.
- thanks all guys for submissions for tesing problem! I fixed A+'s suffix problem according to the suggestion.
- the ICFP contest is coming soon (July 20th)! I introduce this contest in this site because I think you golfers will enjoy this contest (especially, the contest in the last year contains many golfing challenges!). Join and enjoy the contests (but don't defeat me :)
- add Whirl.
- update version of DMD to 1.015 and fix VHDL's exec denied problem.
- add Pefunge.
- my email address was changed.
- add deadline feature. Authors of problems can select the deadline. After the deadline, the problem state becomes to "post-mortem" and all submitted source codes are opened. If you want to create closed problem, you can select no deadline option.
- add Postscript.
- add xgawk, m4, and update GHC to 6.6 from 6.4.
- expire all entries which use file save. I know this bug as mentioned the below, but i have not fixed yet. Please kindly don't submit entries using file save/load.
- changed the timeout of Java to 1.5sec (because its stratup is slow).
Please whisper me (shinichiro.hamaji _at_ gmail.com) if you found some problems.
If you meet the following situations, it is the bug.
- can access network
- can be root
- can allocate >50MB memory
- meet stupid things
I know the following things:
- can load saved files. Basically, the saved files will be removed after executing submitted code. However, you can avoid this check by using system call directly. (I'll remove this bug if I have much spare time...)
Source code.
Version informations.
return top