Linked Questions
22 questions linked to/from I double the source, you double the output!
8
votes
7
answers
363
views
Twice as long, half the price [duplicate]
Related: I double the source, you double the output!
When Steve Jobs launched the iPhone 3G, the slogan said
Twice as fast, half the price
I changed the word fast to long to better represent this ...
105
votes
308
answers
18k
views
Create output twice the length of the code
The Challenge
Write a complete program that writes twice as many bytes to standard output as the length of the program.
Rules
The program must write ASCII characters to the standard output.
The ...
59
votes
75
answers
5k
views
Be the First 1 (leave only the first Truthy)
Intro
Every year, Dyalog Ltd. holds a student competition. The challenge there is to write good APL code. This is a language agnostic code-golf edition of this year's eighth problem.
I have explicit ...
44
votes
69
answers
9k
views
I reverse the source code, you negate the input!
Blatant rip-off of a rip-off. Go upvote those!
Your task, if you wish to accept it, is to write a program/function that outputs/returns its integer input/argument. The tricky part is that if I ...
51
votes
51
answers
5k
views
Third time the charm
Your task, if you wish to accept it, is to write a program that outputs a positive integer (higher than 0). If the source code is duplicated the output must remain the same. The tricky part is that if ...
30
votes
38
answers
4k
views
I uppercase the source code, you reverse the input!
It's one of these again :D
Your task, if you wish to accept it, is to write a program/function (without any uppercase letters) that outputs/returns its string input/argument. The tricky part is that ...
29
votes
44
answers
7k
views
I reverse the source code, you reverse the input!
Yet another blatant rip-off of a rip-off of a rip-off. Go upvote those!
Your task, if you wish to accept it, is to write a program/function that outputs/returns its string input/argument. The tricky ...
40
votes
29
answers
5k
views
Double-time is not double time
Based on this challenge.
In the rhythm game osu!, the difficulty modifier "Double-time" actually only increases the speed by 50%.
Your task, is to write a program that outputs a positive ...
33
votes
29
answers
5k
views
Double it your way
There have been a couple of challenges involving doubling source code: here and here. The task we have here is a bit harder, but should be doable in almost every language.
In this challenge, you will ...
38
votes
25
answers
6k
views
I transpose the source code, you transpose the input!
Rip-off of a rip-off of a rip-off of a rip-off. Go upvote those!
Your task, if you wish to accept it, is to write a program/function that outputs/returns its input/argument¹. The tricky part is that ...
34
votes
30
answers
5k
views
Ah, why is there a bug in my program?
This challenge is inspired by @LuisMendo's MATL answer to my "binary multiples" challenge.
Task
Pick a code-golf challenge that is open and that has been posted before this one; let me call it the "...
28
votes
24
answers
7k
views
I shift the source code, you shift the input!
Sandbox
A spin-off of a rip-off of a rip-off of a rip-off of a rip-off. Go upvote those!
Your task, if you accept it, is to write a program/function that outputs/returns its input/argument. The ...
3
votes
34
answers
3k
views
Code 3k to Codee k
Write some code...
Write a program that takes no input and outputs an integer n which is a multiple of 3. So ...
19
votes
25
answers
3k
views
I palindrome the source code, you palindrome the input!
This is a rip-off of a rip-off of a rip-off of a rip-off of a rip-off. Go upvote those!
Your task, if you accept it, is to write a program/function that outputs/returns its input/args. The tricky ...
24
votes
19
answers
2k
views
Please Count ME!
Your task is simple. Post a snippet in any language that if the snippet is repeated n times, will output n in decimal, octal, and hexadecimal, in that order, separated in spaces. n is an integer ...