Under construction
This is a test of golf server.
You can enjoy short coding here in several languages (58 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.
I feel we have too many problems these days. Please make some time delay before adding problem. I personally think ~5 active problems are enough to work hard for each problem.
This URI will be deprecated. Please use new URI: http://golf.shinh.org/
Active problems
- 159. main 1day(s) and 23:20:36 left (08/23 14:36:27 JST)
- 158. swab 5day(s) and 9:48:36 left (08/27 01:04:27 JST)
- 155. Brainfuck 15day(s) and 15:48:11 left (09/06 07:04:02 JST)
- 156. Brainfuck FIXED 15day(s) and 16:00:10 left (09/06 07:16:01 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
create new problem
recent records
language ranking
performance checker
caddy, a testing/squeezing/submission helper tool for golfers
News
- 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