Linked Questions

28 votes
8 answers
4k views

Err, Where am I?

Oh no! I'm trapped in a big forest (Okay, not really, but just assume it) and I don't know where I am! Thankfully, I brought my laptop. But when I searched 'Maps', It said 'No results', and I'm ...
Matthew Roh's user avatar
  • 5,347
21 votes
18 answers
771 views

Tips for golfing in Factor

What general tips do you have for golfing in Factor? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to Factor (e.g. "remove comments" is ...
cat's user avatar
  • 5,899
46 votes
11 answers
2k views

Run Stackylogic

Stackylogic is a logic-based programming language I made up that take in 0's and 1's for input and outputs a single ...
Calvin's Hobbies's user avatar
10 votes
32 answers
4k views

Color RGB int to hex [closed]

Given three integers rgb, output hexadecimal representation as a string. ...
Quillion's user avatar
  • 851
18 votes
22 answers
1k views

Output diagonal positions of me squared

Given a number n, Output an ordered list of 1-based indices falling on either of the diagonals of an n*n square matrix. ...
sergiol's user avatar
  • 3,406
14 votes
21 answers
2k views

Constructing Solar Panels from Squares

I'm designing a new space station for generic super-villain purposes (something something megalaser), but I'm having trouble designing the solar panels. My genius team of scientists can calculate ...
Mayube's user avatar
  • 11.6k
16 votes
20 answers
2k views

Produce a List of Rotonyms 1

Rotonyms 1 ROT13 ("rotate by 13 places") is a simple letter substitution cipher that replaces a letter with the 13th letter after it, in the alphabet. So, A ...
Umbrella's user avatar
  • 897
20 votes
20 answers
4k views

Lowest-Base Palindrome

Given a number \$n\$, write a program that finds the smallest base \$b ≥ 2\$ such that \$n\$ is a palindrome in base \$b\$. For example, an input of \$28\$ should return the base \$3\$ since \$28_{10} ...
user avatar
23 votes
14 answers
3k views

Make a Bubble-wrap simulator

Bubble-wraps are maximum-level entertainment. Everyone can agree to that. Now, you will make even computers enjoy bubble-wraps. Specs You will be given two integers, w, and h.(each are responsively ...
Matthew Roh's user avatar
  • 5,347
14 votes
15 answers
3k views

Fill In the Blanks

Input A nonnegative integer n, and a nonempty string s containing only alphanumeric characters and underscores ...
Zgarb's user avatar
  • 42.7k
16 votes
18 answers
1k views

Alphanumeric balance

Write a program which gets a string as its input, and counts the number of alphanumeric and non-alphanumeric characters in it. It has to display its result like this: input: ...
vsz's user avatar
  • 8,109
19 votes
13 answers
831 views

Tips for golfing in dc

What general tips do you have for golfing in dc? dc is a calculator utility for UNIX/Linux that predates the C language. I am interested in how to make my dc programs (calculations?) shorter. I'm ...
mriklojn's user avatar
  • 393
19 votes
14 answers
2k views

Seeking Secret Swapping Sequences

This is a cops-and-robbers challenge, the robbers thread can be found here. Your task is to write some code that outputs an OEIS sequence, and contains the name of the sequence in the code (...
Wheat Wizard's user avatar
  • 98.8k
22 votes
12 answers
3k views

Is it a substring of itself?

Given a string, return whether the string is a substring of the program's source code. Standard quine rules apply, meaning you cannot read your own source code. The length of the input is guaranteed ...
caird coinheringaahin g's user avatar
18 votes
15 answers
2k views

Golf the Chinese 9*9 multiple table

Output the following table: ...
l4m2's user avatar
  • 24.5k

15 30 50 per page