New answers tagged

0 votes

Sandbox for Proposed Challenges

Compose Two Polynomials code-golf Objective Given two polynomials \$p\$ and \$q\$ with integer coefficients (and with one indeterminate), output their composition \$p \circ q\$. I/O format Flexible. ...
Dannyu NDos's user avatar
  • 5,941
1 vote

Sandbox for Proposed Challenges

Split cell and duplicate content Input a strict subset of HTML <table> string representation as defined below. Output parsed table, while any cell who span ...
tsh's user avatar
  • 34.7k
1 vote

Sandbox for Proposed Challenges

Lost is a 2-D programming language where the start position and direction of the ip are entirely random. Today we will be writing a Lost program which uses this randomness to simulate a coin flip. A ...
Wheat Wizard's user avatar
  • 98.5k
2 votes

Sandbox for Proposed Challenges

Output a 1-2-3 sequence
Tbw's user avatar
  • 1,805
0 votes

Sandbox for Proposed Challenges

Given a piece of notes, make accidentals clear. Accidentals include b, % and #. Pitch names ...
l4m2's user avatar
  • 23.9k
1 vote

Sandbox for Proposed Challenges

You're to create a file using a hex editor. Unluckily most of keys on your keyboard are broken. You can: Add a byte you can press at the end of file Add a byte such that, the upper 4 bits hex is a ...
l4m2's user avatar
  • 23.9k
1 vote

Sandbox for Proposed Challenges

Bitwise and on 2-adic number TODO: Explain 2-adic number E.g. 0b...001001001 * 0b111 = 0b...1111111 = -1, so 0b...001001001 = -1/7. Given two 2-adic numbers in fraction form, output their bitand ...
l4m2's user avatar
  • 23.9k
2 votes

Sandbox for Proposed Challenges

Fixed Repeating Output Fixed Repeating Output is a challenge originally invented by Esolang user AnotherUser05 which shows that a language supports loops and I/O Challenge A program that solves the ...
None1's user avatar
  • 375
0 votes

Sandbox for Proposed Challenges

Is it a cartesian product? The cartesian product of two multisets \$A\$ and \$B\$ is multiset list of all ordered pairs consisting of an element of \$A\$ and an element of \$B\$. For example, the ...
emanresu A's user avatar
  • 37.8k
3 votes

Sandbox for Proposed Challenges

Draw a Fibonacci Swoosh
emanresu A's user avatar
  • 37.8k
4 votes

Sandbox for Proposed Challenges

Weave two lists, cycling if necessary code-golf array Consider two lists, A and B. To weave them together, we take the first element of A, then the first element of B, then the next element of A, the ...
DLosc's user avatar
  • 39.4k
0 votes

Sandbox for Proposed Challenges

Construct the largest number by combining Given an array, each time you can remove two values \$a\leq b\$, and add value \$\min\left(2a\color{red}{+1},a+b\right)\$. Return the largest value you can ...
l4m2's user avatar
  • 23.9k
0 votes

Sandbox for Proposed Challenges

Is this function communative? Given a function of the form of a valid mathematical expression with at least two variables named a through z, determine if it is impossible to rearrange the values of ...
Larry Bagel's user avatar
  • 4,173
1 vote

Sandbox for Proposed Challenges

Emulate Jelly's tie-scan
emanresu A's user avatar
  • 37.8k
0 votes

Sandbox for Proposed Challenges

Vending Machine Simulator code-golfinteractiverandom Alternate title: Linear Logic Simulator Objective Write an interactive program that asks you to design a vending machine, and then simulate the ...
Dannyu NDos's user avatar
  • 5,941
1 vote

Sandbox for Proposed Challenges

8-bit AVR integer division Impatience got the better of me
greybeard's user avatar
  • 101
1 vote

Sandbox for Proposed Challenges

Complement of a set of ranges Consider a shop that exists for a given range of time. At certain times during the shop's existence items can go on sale. These items will be on sale for at least one ...
DanielOnMSE's user avatar
0 votes

Sandbox for Proposed Challenges

Input: a byte array of length 1 to 31, inclusive. Take an example, oxDE, 0xAD Objective: Write each byte into 8-bit binary, big-endian ...
l4m2's user avatar
  • 23.9k
0 votes

Sandbox for Proposed Challenges

Number houses in a street House numbering varies across the world, and sometimes within a country, but the traditional numbering system in my country is to have the odd numbers ascending on one side ...
Neil's user avatar
  • 170k
1 vote

Sandbox for Proposed Challenges

Wheat Wizard's user avatar
  • 98.5k
3 votes

Sandbox for Proposed Challenges

How many cacti can I plant here?
Cactusroot's user avatar
4 votes

Sandbox for Proposed Challenges

Decompile cops-and-robbers In this challenge "cops" will write a computer program and compile it. They will post the result of the compilation (for simplicity we will just call this the &...
Wheat Wizard's user avatar
  • 98.5k
1 vote

Sandbox for Proposed Challenges

Odds for second smallest prime factor
Mukundan314's user avatar
  • 10.6k
0 votes

Sandbox for Proposed Challenges

Is the triangle decided? Given some angles and edges of a triangle, decide if it's decided, impossible or multi possibility. Input: 3 angles and 3 edges. Choose a non-positive value, maybe 0 or non-...
l4m2's user avatar
  • 23.9k
1 vote

Sandbox for Proposed Challenges

Swingin' Four Operations! Before, I found this song which has no meaning other than to combine all the consonants and vowels in the English alphabet. This challenge is similar, however, instead of ...
3-1-4-One-Five's user avatar
2 votes

Sandbox for Proposed Challenges

Implement a 2-player version of 1D Chess
Quadruplay's user avatar
0 votes

Sandbox for Proposed Challenges

Input part of staff, output its midi. Symbols: 0-9: octave symbol. Set O = the value. ...
l4m2's user avatar
  • 23.9k
0 votes

Sandbox for Proposed Challenges

Choose a language or its subset, write a program in it that, compute some function bool f(Program P, Int T) such that: If f(P,T), then f(P, T+1) lim[T->∞] f(P,T)=true iff P halts Notes: This is ...
l4m2's user avatar
  • 23.9k
0 votes

Sandbox for Proposed Challenges

Given a non-negative integer, Write the integer into base64, and store into bytes Set each bit 7 to 1 but the last byte. Set each bit 6 to 1 but the first byte. In this way an integer has clear ...
l4m2's user avatar
  • 23.9k
0 votes

Sandbox for Proposed Challenges

Find the missing side in a right triangle You've solved for the legs when you have the hypotenuse. You've solved for the hypotenuse when you have the legs. But can you code golf a program to do both? ...
Seth's user avatar
  • 349
2 votes

Sandbox for Proposed Challenges

Swifty Argument Labels
macOSisthebestOS's user avatar
0 votes

Sandbox for Proposed Challenges

Wheat Wizard's user avatar
  • 98.5k

Top 50 recent answers are included