instruction_seed stringlengths 29 40.5k | source stringclasses 6
values |
|---|---|
In light of the original inquiry sourced from Stackoverflow, the following exercise is presented.
The task at hand involves two lists or arrays of integers, designated as L1 and L2, which are of identical length. Your objective is to methodically ascertain the index positions of the first occurrences of each number wi... | evolcodegolf |
Observing that the programming language utilized in Learn You a Lang for Great Good is Piet, and noting the absence of a dedicated tips page for this particular esoteric language, I have taken the initiative to create one. Piet, being a stack-oriented esoteric programming language where the code is represented as intri... | evolcodegolf |
Devise a program or function that calculates and outputs the precise integer count of responses to the posed question. The solution must maintain functionality as additional responses are incorporated into the data set.
Programming languages executable within a web browser can be utilized directly via the JavaScript ... | evolcodegolf |
I'm seeking advice specifically tailored to golfing in Erlang, emphasizing strategies that apply exclusively to this language, as opposed to any others. I recognize that there are existing tips for Elixir, but they are not relevant here. Additionally, it would be beneficial if each suggestion could include a brief exam... | evolcodegolf |
Introduction
Emoji utilize a distinctive alphabet system for representing their national flags, permitting the amalgamation of two symbols to form the corresponding flag.
Your challenge is to adeptly convert any given uppercase letter into the respective Flag Identifier. Be mindful that this task may prove signifi... | evolcodegolf |
In the intricately designed game of Terraria, a core mechanic involves the construction of valid houses to accommodate NPCs, governed by an extensive set of intricate rules. Below is a comprehensive compilation of these stipulations:
The total area within the house must be a minimum of 60 square tiles but cannot excee... | evolcodegolf |
This task is a code golf challenge, building upon a previously discussed problem in a forum. The objective is to receive a string of exactly 10 characters that signifies a base 36 numeral system and increment its value by one, returning the updated string. The valid characters in these strings include digits ranging fr... | evolcodegolf |
Continued fractions provide a fascinating method to approximate irrational numbers using iterative fractions. These expressions can take multiple forms, such as:
$$
b_0 +\cfrac 1
{b_1 + \cfrac 1
{b_2 + \cfrac 1
{\ddots + \cfrac 1
{b_m}
}
}
}
$$
Or can be expressed as a structured series of values: \$... | evolcodegolf |
Imagine you possess a particular string denoted as \$s_0\$ and an individual holds a concealed string identified as \$s_1\$. The specifics of \$s_1\$ remain unknown to you; however, the individual claims they can transform your string, \$s_0\$, into their string by executing a specified number of operations, referred t... | evolcodegolf |
The construction of the pyramid commences with the initial row designated as 1 1, which we will refer to as row 1. For every subsequent row, utilize the preceding row as a foundation and strategically place the current row number between each adjacent pair of numbers that collectively add up to the current row number.
... | evolcodegolf |
Given an array consisting of non-negative integers in any practical representation, systematically traverse the collection while omitting a number of entries determined by the value of each integer you encounter.
Here is a worked example:
[0, 1, 0, 2, 5, 1, 3, 1, 6, 2] | []
^ First element, always include it
[0, 1, 0... | evolcodegolf |
Introduction
The iconic S (widely recognized as Superman S, Stüssy S, Super S, Skater S, Pointy S, Graffiti S, among numerous other names) has been a staple of creativity among countless schoolchildren globally, who found immense pride in crafting this symbol. For those who may not be familiar with it or perhaps did ... | evolcodegolf |
Final results
1st place goes to Follow!
Honourable mentions to The diff predictor (2nd), and Simple Killer, Low Blow and High to Low (joint 3rd).
Other winners:
(score competition) 1st - Simple Killer
Honourable mentions: The diff predictor and Naiive.
(wins competition) 1st - Crab
Honourable mentions: Follow and High ... | evolcodegolf |
I seek a novel approach for analyzing the following problem. Consider two sequences, X and Y, made up of positive integers, each of lengths m and n, respectively. Extend X and Y into new sequences, X' and Y', by adding enough instances of the integer 1 to reach a total length of m+n. Our objective is to evaluate unique... | evolcodegolf |
Identify the paramount character
The objective entails crafting a program that identifies and outputs the character that appears most frequently within the provided input string, while deliberately omitting certain bracketing characters, specifically ()[]{}. Each submission is expected to consist solely of non-trivia... | evolcodegolf |
Background
For the purposes of this intricate challenge, we shall delineate a "perfect nontransitive set" to be a collection \$A\$ possessing some irreflexive, antisymmetric relation \$<\$, such that for every element \$a \in A\$ it holds true that \$|\{x \in A|x<a\}|=|\{x \in A|x>a\}\$.
To simplify this concept: \... | evolcodegolf |
Your task is to develop a program that translates a given whirlyBF (WB) code into its miniwhirlyBF equivalent. The whirlyBF language comprises 10 instruction characters: +-><[],.; and miniwhirlyBF consists of only 5: =+>|. The translation process involves iterating through the WB code and replacing each character with ... | evolcodegolf |
Challenge:
Presented here is the initial 100 elements of a meticulously structured sequence:
6,5,4,3,2,1,66,65,64,63,62,61,56,55,54,53,52,51,46,45,44,43,42,41,36,35,34,33,32,31,26,25,24,23,22,21,16,15,14,13,12,11,666,665,664,663,662,661,656,655,654,653,652,651,646,645,644,643,642,641,636,635,634,633,632,631,626,625,624... | evolcodegolf |
Your supervisor has just sent you an email detailing a compilation of 12 programming assignments that require immediate attention. Although these tasks appear straightforward, your supervisor, being a burgeoning software magnate steeped in social media culture, is adamant that your solutions must fit within a singular ... | evolcodegolf |
Create a new file and write the exact string Hello World to it, ensuring that the file's name includes a timestamp.
Restrictions
Your challenge must write to a file on disk, in the file system.
The file may not be a log file generated during normal operation of the interpreter.
The file must contain only the strin... | evolcodegolf |
See also: Rotatagons
Challenge
Given a string as input, output its wordagon while ensuring that each layer reflects a symmetric pattern.
Wordagons
A wordagon is a way of representing a string in a hexagon. Now, let's create a wordagon from the string hexa:
Firstly, you start with the first character in the st... | evolcodegolf |
In the realm of cryptography, the Caesar Shift stands as a fundamental yet simplistic monoalphabetic cipher whereby each letter in the plaintext is transmuted into the subsequent letter in the alphabet. For example, the phrase "Hello world!" transforms into "IFMMP XPSME!" through a basic shift of one position.
(For th... | evolcodegolf |
Your task will be to develop a sophisticated algorithm or software application that accepts a positive integer n>0 as an input parameter and generates a comprehensive list of the edges associated with the n-dimensional hypercube. Within the context of graph theory, an edge is characterized as a pair of vertices (or cor... | evolcodegolf |
In light of the recent multiplication table challenge presented by Calvin's Hobbies, devise a function or program that accepts a positive integer N as input and subsequently generates a unique N-by-N multiplication spiral. The implementation should theoretically accommodate values of N ranging from 0 to 1000, albeit ge... | evolcodegolf |
The Challenge
Given an integer input, thoroughly calculate the cumulative total of all non-composite numbers present in the Fibonacci sequence that do not exceed the specified value, and subsequently determine the prime factors of the resulting sum. For instance, if the input number is 8, the sequence of non-composit... | evolcodegolf |
The task at hand is to uncover the winnings from the Spiral Grid Number Lottery. Inspired by the structure of traditional number draws, this game incorporates a unique spiral arrangement to determine outcomes.
You will receive two sets of inputs:
1. A list of 24 numbers, which are positioned in a 5 x 5 grid but fil... | evolcodegolf |
Befunge is a 2-dimensional esoteric programming language where commands, each consisting of a single character, are organized on a two-dimensional grid. Control flow traverses this grid, executing commands in its path and altering direction upon encountering an arrow (>^<v). The commands operate on a stack; see this li... | evolcodegolf |
Given a prime integer \$ p > 1 \$, calculate the value of \$ p^2 + \lfloor \log_p(p!) \rfloor \$, ensuring that you account for potential inaccuracies in factorial calculations. For instance, in languages where factorials grow quickly, this may not be computed directly without care.
Rules
- You can assume the input ... | evolcodegolf |
Nicomachus's Theorem, which intriguingly links the square of a sum to the sum of cubes, features an elegant geometric representation.
Your task is to construct the two-dimensional segment of this visualization using ASCII characters. It is essential to maintain all specified visual boundaries as illustrated in the ex... | evolcodegolf |
Inspired by the Google Code Challenge:
The Latin alphabet consists of 26 distinct characters, while telephones utilize a numeric keypad containing only ten digits. In an effort to simplify the process of composing a message to your friend, we propose a system where a sequence of keypresses corresponds to the desired l... | evolcodegolf |
Your task is to generate a mirrored text pattern that resembles the following format:
```
A
BC
DEF
GHIJ
KLMNO
PQRSTU
VWXYZ
```
However, the text should be arranged in a way that each line contains a sequential number of letters, but mirrors around a central axis, creating a symmetrical effect. For example:
```
A
... | evolcodegolf |
Challenge:
A Frog List is defined by certain rules:
Each frog within a Frog List has a unique positive digit [1-9] as id (any 0 in a list is basically an empty spot, which can mostly be ignored).
A Frog List will always have exactly one Lazy Frog. A Lazy Frog will remain at its position.
Every other frog in a Frog Lis... | evolcodegolf |
Devise a computational routine that ascertains the primality of a specified integer.
The stipulation: Eschew the use of any numeric characters or mathematical symbols. This entails:
No representation of digits from zero to nine in any form within the program, regardless of context.
Abstain from employing any built-... | evolcodegolf |
Your objective is to develop a complex Boolean parser capable of interpreting and evaluating Boolean expressions systematically.
In the realm of computer science, Boolean expressions utilize two inputs resulting in a single output. The fundamental operations consist of four types of 'gates' within Boolean arithmetic: ... | evolcodegolf |
Background
The 1-2-3-Tribonacci Sequence
Imagine for a second that you could create a Fibonacci sequence by substituting the standard iteration formula with the following:
Essentially, instead of summing the last two terms to derive the next, you sum the last three. This forms the foundation of the 1-2-3-Tribona... | evolcodegolf |
Definition
An "integer triangle" is defined as one formed by vertices that possess integer coordinates. For instance, the following set of points constitutes an integer triangle:
(0, 0), (0, 1), (1, 2) with a calculated perimeter of 1 + sqrt(2) + sqrt(5) ≈ 4.650.
Task
The objective of this challenge is to enum... | evolcodegolf |
Your task today involves a straightforward yet intriguing challenge: you must identify the specific model of TI calculator for which the provided datafile has been formatted. Each datafile initiates with a prefix string **TI, followed by the corresponding version (detailed below), along with extraneous data that can be... | evolcodegolf |
Transform and reduce my polygon grid
You are provided with a grid of points represented as a 2D array in your chosen programming language.
Input:
The grid will always have an odd dimension (both width and height).
The grid will always be perfectly rectangular.
The values at the grid points can be any integer (positi... | evolcodegolf |
Task
You will be presented with a positive integer and you are required to construct a "self-complementary graph" that has the same number of nodes as the given integer. In case you are unfamiliar with the concept of a self-complementary graph, here are two succinct explanations: one technical and one non-technical. ... | evolcodegolf |
Marshall Lochbaum's online BQN REPL showcases a fascinating and visually captivating approach to array representation. Your challenge involves creating a variant that adheres to more straightforward yet distinct principles.
The input array
[2,[3],4,[[[6,[5],7]]]]
translates to:
┌─
·... | evolcodegolf |
Minecraft inventory management is notoriously challenging. You possess 17 diamonds, yet you require 7 to craft an enchantment table, a pickaxe, and a sword. Would you prefer to pick them up and right-click 7 times? Alternatively, might you right-click once to grab a larger quantity, then click twice to take the remaini... | evolcodegolf |
Source: Wikipedia
For this intricate challenge, you are tasked with writing two distinct programs that encapsulate the figure and ground representations of the image referenced above, ensuring that one program outputs the string "figure" while the other outputs "ground." Specifically:
Compose a program that requ... | evolcodegolf |
Imagine we are analyzing a cross-section of a terraced landscape, which can be visualized in a manner similar to this:
5 _
4 _ __/ \
3 _ / \ _/ \_ /
2 / \__/ \__/ \_/
1 / \_/
0 \/
12323332100021122331001
Here, w... | evolcodegolf |
Provide an input consisting of a pair of nonnegative integers that describe a specific type of chess leaper, and produce a visual representation of the squares to which this leaper is capable of moving. As detailed in the extensive description from Wikipedia:
An (m,n)-leaper represents a chess piece that transitions t... | evolcodegolf |
Input:
A list or array consisting of integers where each element lies within the inclusive range of 2 to 36, representing a unique positional numeral system.
Output:
Compute the cumulative total of these integers represented as base 10, applying the stipulation that each successive integer is interpreted in the numeri... | evolcodegolf |
Your task: design a fractal pattern of interconnected dodecagons with a specified iteration depth, where the depth is a non-negative integer.
First, let’s define a dodecagon:
______
/ \
| |
\________/
Dodecagons can be combined through their edges:
______
... | evolcodegolf |
In a sophisticated variation of the age-old challenge of locating a needle in a haystack, your task is to identify the largest contiguous section of hay (represented by '#') that contains precisely one needle (denoted by 'N'). It is crucial to note that connectivity between cells is limited strictly to horizontal and v... | evolcodegolf |
This challenge serves as a foundational task, ultimately leading to a more intricate scenario! You are provided with an array representing resource accesses, illustrated by nonnegative integers, alongside a parameter n. Your objective is to meticulously determine the total count of cache misses, predicated on the assum... | evolcodegolf |
Construct a program that effectively calculates the coordinates after performing a precise number of movements N within a given matrix of dimensions A x A, adhering strictly to a specified spiral pattern that initiates at the position (1; 1). The movement sequence is defined as proceeding to the right until unable to c... | evolcodegolf |
The objective of this programming challenge is to devise a solution that accepts a string containing only printable ASCII characters and transforms it into its upper-case equivalent. However, there’s a twist: you must not utilize any built-in functions specifically designed for upper-casing strings (like ToUpper() in .... | evolcodegolf |
It is a well-acknowledged fact that enthusiasts of language diversity are held in high regard. You will be tasked with processing two integers provided through any conventional method of input (avoid hardcoding). Your assignment entails constructing a polyglot that identifies the minimum value in one programming langua... | evolcodegolf |
You are tasked with developing a program that produces a sequence of prime numbers starting from \$2\$ and continuing indefinitely. The generation should employ a unique prime generation method of your choice (Sieve of Eratosthenes, trial division, etc.), ensuring that each prime is generated independently. The sequenc... | evolcodegolf |
This challenge involves an intricate exploration of the features within the MATL language, as part of the May 2018 Language of the Month event. Associated challenge: Function clipboard: copy.
Introduction
MATL's function clipboard is designed to retain ("copy") the inputs from the four most recent executions of standa... | evolcodegolf |
The challenge at hand is to identify the most compact feedforward neural network configuration that, when presented with any input vector \$(a,b,c)\$ residing within the integer range of \$[-10,10]\$, effectively produces the largest root of the polynomial \$x^3+ax^2+bx+c\$ with a precision error margin strictly less t... | evolcodegolf |
Design a similarity matrix that illustrates the process of determining the absolute differences between elements in successive lists of integers. Start with an array of non-negative integers, for example:
3 8 5 2 1
Next, visualize the integers in a vertical stack:
3
8
5
2
1
Ge... | evolcodegolf |
Develop a function or complete program that accepts a positive integer n and executes n iterations of an iterative algorithm designed to calculate π with quadratic convergence (i.e. it nearly doubles the number of accurate digits with each iteration), subsequently returning or displaying 2n correct digits (including th... | evolcodegolf |
Revamped formatting and detailed directives
Provided with a series of sequences that represent moves in a Cracker Barrel peg board game, or what @Steveverrill referred to as Peg Triangle Solitaire:
Game 1 Game 2 Game 3
1: 0 ,-1, -1 C, -1, -1 4, -1, -1 #initial configuration
2: 3, 1, 0 3, ... | evolcodegolf |
You are presented with four integers: p1, p2, p3, and p4. The magic sum of these values is defined as follows:
magic_sum = |p1 - p2| + |p2 - p3| + |p3 - p4| + |p4 - p1|.
Your objective is to modify only one of the integers (p1, p2, p3, or p4) in such a manner that the magic sum is minimized. However, you must also ... | evolcodegolf |
The scenario
Recently, you have been observing some peculiar anomalies with your preferred source code editor. Initially, it appeared that it was disregarding arbitrary characters in your programming syntax when saving to persistent storage. Over time, a discernible pattern emerged; specifically, characters represent... | evolcodegolf |
Engage in a systematic exploration of the following process:
Begin with a non-negative integer N.
For instance, take 27.
Divide this integer into two parts, specifically N - floor(N/2) and floor(N/2), which represent a 'larger' and 'smaller' half, respectively, and ensure they are recorded in that particular sequence.... | evolcodegolf |
Challenge
The task is to create a function that identifies the maximum number of distinct combinations of a given set of characters that can be formed under specific constraints.
What are combinations?
Combinations of a set [c1, c2, c3, ..., cn] are defined as any unique grouping of characters such that no charac... | evolcodegolf |
The designation of a variable star serves as a unique identifier for a star exhibiting fluctuations in brightness, formatted as a 1-2 letter code or a 'V' followed by a number when the letter designations are exhausted. This code is complemented by the genitive of the star's constellation (for instance, "RR Coronae Bor... | evolcodegolf |
Imagine you have a collection of unique letters, where the total number of letters, denoted as m, is a prime number between 10 and 100. Your task is to reorder these letters based on their Morse code representations, sorting them in ascending order while maintaining their original case (uppercase or lowercase).
Note: ... | evolcodegolf |
Imagine I have an infinite number of homework problems (!) each given an integer number. Math Problem Notation is a notation for describing subsets of the problem using problem specifiers. An MPN expression can consist of several things:
A single value. This represents a set containing the number: 99 -> {99}.
A simp... | evolcodegolf |
This cognitive challenge stems from a riddle I encountered in a particular text some time ago and rediscovered here. It revolves around projectiles launched from a firearm at one-second intervals, each possessing distinct velocities, traveling linearly and indefinitely. Upon contact with another projectile, both are an... | evolcodegolf |
Describe the intricacies of how strings undergo a twisting transformation. The twisting algorithm operates on a straightforward principle: each column of characters is shifted downward by an amount corresponding to its index (for example, the first column moves down 0 positions, the second column down 1 position, and s... | evolcodegolf |
Imagine a mystical deck of cards designed for a unique game, presented in this format:
[
"A♠", "2♠", "3♠", "4♠", "5♠", "6♠", "7♠", "8♠", "9♠", "10♠", "J♠", "Q♠", "K♠",
"A♦", "2♦", "3♦", "4♦", "5♦", "6♦", "7♦", "8♦", "9♦", "10♦", "J♦", "Q♦", "K♦",
"A♥", "2♥", "3♥", "4♥", "5♥", "6♥", "7♥", "8♥", "9♥", "10♥", "J♥"... | evolcodegolf |
The Quantum Code Quest
Embark on a 9-part code crafting expedition filled with esoteric challenges that push the boundaries of programming language creativity. Each task will be assigned a difficulty level and may involve unique constraints based on the previous entries. Stay alert, as the leaderboard will evolve with... | evolcodegolf |
Narrative
I possess a collection of novels that I wish to position in such a manner that one particular book is isolated from my table, surrounded solely by additional volumes of varying lengths. I seek to determine the requisite quantity of these volumes to ensure that the designated book maintains a distance of \$n\$... | evolcodegolf |
Render the following grid in the most compact byte representation achievable, while ensuring clarity and accuracy in the data depicted:
-------------------------
| | ABC | DEF |
| 1 | 2 | 3 |
-------------------------
| GHI | JKL | MNO |
| 4 | 5 | 6 |
--------------... | evolcodegolf |
A string can undergo a shifting transformation defined by an integer n through a process involving the computation of the byte value c for each character in the string. This involves determining (c + n) mod 256 and subsequently converting the resultant value back to its corresponding character representation. To illust... | evolcodegolf |
This particular challenge arises from an interactive game titled Keep Talking And Nobody Explodes, known for its intricate puzzles and cooperative gameplay mechanics. The complexity of the wire-cutting mechanism is noteworthy, showcasing remarkable engineering prowess, yet it begs the question: could there have been a ... | evolcodegolf |
Devise an implementation for the Pigeonhole sorting algorithm, which is a specialized adaptation of the Bucket sorting methodology. The underlying principle is straightforward: categorize your elements using a specified indexing function, subsequently retrieving the items from all populated indexes. Your implementation... | evolcodegolf |
Construct an elementary digital Stopwatch application that meticulously records the elapsed time in both seconds and minutes, adhering to the specifications outlined below.
Crucial Considerations
It is imperative to thoroughly examine both the Display and Controls segments!
Display
The time elapsed must be presented ... | evolcodegolf |
Background
Jelly's arithmetic atoms demonstrate automatic vectorization, meaning that expressions such as x + y are well-defined whenever both x and y are either numbers or ragged arrays composed of numbers. The underlying source code of Jelly has been designed to implement this behavior through a generic vectorizer.... | evolcodegolf |
In the tabletop RPG known as Pathfinder, there exists a feat titled Sacred Geometry, which enables a character possessing it to enhance their spells through mathematical calculations. To utilize this feat, the character must roll a quantity of six-sided dice equivalent to their ranks in a specified skill, reference a d... | evolcodegolf |
Devise a function that performs the operation of incrementing a given number solely through the utilization of bitwise operations, loops, and conditional statements, while adhering to a series of specific guidelines.
Rules:
All entries must conform to the specifications delineated below.
The evaluation criteria focu... | evolcodegolf |
Imagine illustrating a complex, open, two-dimensional curve within a grid measuring W units in width and H units in height, where each position occupied by the curve is denoted by an X and every unoccupied position is represented by a period (.), with no additional characters employed. Each cell within this grid posses... | evolcodegolf |
The concept of mapping stands as a fundamental yet pivotal operation in the realm of functional programming paradigms. While all functional programming languages provide this feature inherently, it is an intellectually stimulating endeavor to explore the brevity with which one can construct this functionality from the ... | evolcodegolf |
In Russia, there exists an intriguing custom where individuals actively engage in the quest for lucky tickets. These tickets prominently feature a six-digit number, which is deemed lucky when the sum of the first three digits equals the sum of the last three. To illustrate, consider the following example of a typical t... | evolcodegolf |
Task
Given a pair of positive integers, a and b, alongside a Unicode mathematical inequality symbol denoted as c, your objective is to ascertain the validity of the expression a c b. You may utilize either the character itself or its corresponding Unicode codepoint for the input c. The output may be represented as yo... | evolcodegolf |
In a mystical archery range, a variety of enchanted targets float mid-air, each representing different mythical creatures like dragons, unicorns, and phoenixes. These targets hover at specific altitudes, tethered by shimmering threads of magic that pulse with energy.
As you release your arrows, each one either pierces... | evolcodegolf |
Envision a scenario in which bytes representing an RGB image are stored in memory, with each color channel—R, G, and B—arranged sequentially. For an image of dimensions NxM, the memory structure manifests as M vertical scanlines, each comprised of 3*N bytes corresponding to the horizontal pixels, as is typically antici... | evolcodegolf |
Invent a pair of algorithms that:
execute in distinct programming languages.
These languages must not belong to the same family or ecosystem.
When the first algorithm executes, it generates the second algorithm, and conversely.
However, there’s a stipulation:
Both algorithms need to be resilient to data corruption... | evolcodegolf |
This particular problem is predicated upon a contention expressed within a MathOverflow response as well as an accompanying paper that appears to substantiate this assertion:
The process of seeking triangular embeddings is significantly more expedient than exhaustively cataloging all possible embeddings. For instance... | evolcodegolf |
You are tasked with processing a given String composed solely of characters from the English Alphabet, incorporating both lowercase and uppercase letters (ASCII 65-90 and 97-122). Your objective is to generate the Fizz-Buzzified representation of this String.
What are the steps to Fizz-Buzzify a String effectively?
F... | evolcodegolf |
XKCD #99, aptly titled "Binary Heart," presents a simplistic yet intriguing visual composed of binary digits, wherein specific numerals are distinctly highlighted in a crimson hue.
While the red heart shape is discernible at a glance, the profound message concealed within the binary assemblage remains elusive. By elim... | evolcodegolf |
Your task is to engineer a program that generates a seamless sequence of characters, where each character adheres to a specific pattern defined by a mathematical function. This sequence must be crafted in such a way that removing any single character will lead to a malfunction, effectively causing the program to return... | evolcodegolf |
Your task is to output a representation of the legendary tree of life, Yggdrasil, while also ensuring that your program is optimized for both execution speed and memory usage. You must write a program whose output is exactly that :
/\
/**\
... | evolcodegolf |
In the context of this programming challenge focused on the merge subroutine of the merge sort algorithm, you are tasked with crafting a function, program, or similar construct that seamlessly integrates two distinct lists—each presorted in ascending order—into a singular list also arranged in ascending order.
Requir... | evolcodegolf |
@BeastlyGerbil presents, the world's very first MOBIUS SUDOKU:
Google Sheets version
(The left most square backs onto the right most square, and the middle squares back onto each other. The ends are then attached as indicated.)
RULES:
Normal sudoku rules apply for rows and boxes - boxes are split into groups of 3 ind... | evolcodegolf |
Concealing a specified message within a chosen carrier requires creating a package that maintains the carrier's overall appearance while embedding the message. For this task, you will devise a program that accepts an ASCII message and an ASCII carrier as inputs, subsequently producing a package that mirrors the carrier... | evolcodegolf |
The Discordian calendar serves as an unconventional timekeeping system embraced by Discordians, characterized by its unique structure and whimsical conventions.
The discordian year comprises 5 seasons, each extending for 73 days: Chaos, Discord, Confusion, Bureaucracy, and The Aftermath. Correspondingly, the discordia... | evolcodegolf |
Given a string of characters, perform a transformation where each type of bracket—namely parentheses (), square brackets [], curly braces {}, and angle brackets <>—is substituted with the corresponding type that adheres to a strict nesting hierarchy, while maintaining a cyclical pattern as follows:
The outermost brac... | evolcodegolf |
Preface
During a recent archery session, specifically when I was attempting a 900 round (comprising 10 ends with 6 arrows each and 10 ends with 3 arrows each, culminating in a total of 90 arrows aimed for a maximum possible score of 900), a challenge emerged in my mind.
In the context of archery (assuming the usage... | evolcodegolf |
S. Ryley established a significant theorem in 1825, which posits that:
Every rational number can be represented as the sum of three rational cubes.
Challenge
Your task is to determine, for a given rational number \$r \in \mathbb Q\$, three distinct rational numbers \$a,b,c \in \mathbb Q\$ that satisfy the equation $$... | evolcodegolf |
Fast and Golfiest Cops Thread
Welcome to the inaugural season of Fast and Golfiest, a thrilling cops-and-robbers coding challenge! This initiative aims to foster a culture of competitive programming focused on the efficiency of algorithms, particularly the quest for the swiftest solutions, thereby enhancing participa... | evolcodegolf |
Narrative
I find myself juggling an extensive array of passwords and strive to maintain uniqueness across various online platforms, which prompted me to devise a clever encoding scheme that remains discreet. The method I employ is as follows:
Conjure up a lengthy word or intricate idea, like breadpudding.
Subs... | evolcodegolf |
Objective
Given an integer \$m\$ expressed in hexadecimal format, output two integers: one that contains the bits of \$m\$ located at positions corresponding to \$3^0, 3^1, 3^2, \cdots\$, and another that consists of the bits located at positions corresponding to \$3^1, 3^3, 3^5, \cdots\$.
Note that the input may b... | evolcodegolf |
This challenge revolves around a Cops and Robbers scenario, presenting a multifaceted task for the Cops. Initially, they must engage with the following three tasks:
1) Select a sequence from the OEIS database.
2) Choose a programming language, ideally a golflang though not strictly required, that can generate A(n) ... | evolcodegolf |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.