Linked Questions

14 votes
26 answers
3k views

Smile! Just smile [duplicate]

It's well known that Brainf*ck is very bad at Kolmogorov-complexity problems, for example, it requires around 100 characters just to print "Hello world". However, there might be texts where Brainf*ck ...
user avatar
  • 8,090
2 votes
31 answers
825 views

HelloWorld error [duplicate]

Introduction Everyone's first program outputs Hello World!. This program should be very simple, that's all you have to do. Challenge Output the string ...
user avatar
  • 454
26 votes
2 answers
12k views

Shortest ELF for "Hello world\n"? [duplicate]

Is it possible to write (pack) a shorter than 145 bytes version of a program with "Hello world" (plus new line) output if the length of the program is measured as a number of bytes in program's ELF (...
user avatar
-17 votes
6 answers
1k views

Print 'em goats [duplicate]

Related Goats are great. Everybody loves goats. And they also, for some reason, are an excellent complex ascii art for many languages to have built-ins for. Because of this, I personally feel a ...
user avatar
  • 8,424
2 votes
0 answers
650 views

Hello World!... in pure x86 opcodes [duplicate]

This is a Hello World challenge! Those plain ones! Yeah.... However, it's different this time. Because here, you can't use C or C++ or Stuck or ArnoldC or whatever you want. You can only choose raw ...
user avatar
  • 37
0 votes
0 answers
278 views

Hello World!++ (Hello World with input) [duplicate]

ltl, ftp Prelude I'm pretty sure you've seen a ton of Hello World challenges before... So I've created this simple twist... Challenge Golf me a simple program that: Takes any amount of ASCII ...
user avatar
1 vote
0 answers
149 views

Printing Hello World using fewest characters [duplicate]

I saw a problem which asks you to print "Hello World" using the fewest characters, including spaces. How can I further shorten this code? Thank you in advance! ...
user avatar
  • 11
607 votes
309 answers
230k views

Produce the number 2014 without any numbers in your source code

Note to challenge writers as per meta consensus: This question was well-received when it was posted, but challenges like this, asking answerers to Do X without using Y are likely to be poorly received....
user avatar
  • 33.8k
546 votes
239 answers
128k views

Showcase of Languages

Notes This thread is open and unlocked only because the community decided to make an exception. Please do not use this question as evidence that you can ask similar questions here. Please do not ...
288 votes
348 answers
120k views

Add a language to a polyglot

This is an answer-chaining challenge in which each answer builds on the previous answer. I recommend sorting the thread by "oldest" in order to be sure about the order in which the posts are ...
user avatar
233 votes
413 answers
58k views

Golf you a quine for great good!

Using your language of choice, golf a quine. A quine is a non-empty computer program which takes no input and produces a copy of its own source code as its only output. No cheating -- that means ...
user avatar
  • 2,607
140 votes
553 answers
44k views

Shortest infinite loop producing no output

Your task is to create the shortest infinite loop! The point of this challenge is to create an infinite loop producing no output, unlike its possible duplicate. The reason to this is because the code ...
user avatar
  • 12.8k
227 votes
336 answers
58k views

Is this number a prime?

Believe it or not, we do not yet have a code golf challenge for a simple primality test. While it may not be the most interesting challenge, particularly for "usual" languages, it can be nontrivial in ...
user avatar
  • 207k
167 votes
458 answers
33k views

Implement a Truth-Machine

A truth-machine (credits goes to this guy for coming up with it) is a very simple program designed to demonstrate the I/O and control flow of a language. Here's what a truth-machine does: Gets a ...
user avatar
183 votes
382 answers
65k views

1, 2, Fizz, 4, Buzz

Introduction In our recent effort to collect catalogues of shortest solutions for standard programming exercises, here is PPCG's first ever vanilla FizzBuzz challenge. If you wish to see other ...
user avatar
  • 22.8k

15 30 50 per page
1
2 3 4 5
8