Code Golf Stack Exchange is a question and answer site for programming puzzle enthusiasts and code golfers. It only takes a minute to sign up.

Sign up to join this community
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top

Explore our questions

10 votes
20 answers
3k views

Double it? Then halve it! But multiply it? Then divide it!

31 votes
30 answers
6k views

Numbers with Rotational Symmetry

16 votes
14 answers
919 views

Check a mushroom forest

25 votes
16 answers
3k views

Convert to base i - 1

19 votes
22 answers
2k views

The Unaverageables

18 votes
1 answer
1k views

Better way to read multiple int in C than scanf

24 votes
24 answers
3k views

backwardS_hybriD-snakE_kebaB-cameL_case

125 votes
21 answers
18k views

Write a program that always outputs "2012" - even if it's modified!

39 votes
48 answers
2k views

Follow a linked list

37 votes
25 answers
6k views

I transpose the source code, you transpose the input!

18 votes
9 answers
2k views

Is this polynomial a square?

73 votes
56 answers
11k views

Draw the Ukrainian Flag

8 votes
27 answers
3k views

Generate this huge right triangle

35 votes
98 answers
4k views

Lolololololololololololol

Browse more Questions