instruction_seed stringlengths 29 40.5k | source stringclasses 6
values |
|---|---|
The lost pawn dilemma
Following the conclusion of a chess match, a solitary pawn remains stranded behind enemy lines. Our task is to assist this pawn in navigating the shortest route back to its starting position.
The original scenario outlines an nXn "chess" grid, alongside a function f: {1,..,n-1}X{1,..,n}X{-1,0,... | evolcodegolf |
I have a pile of clean socks that I wish to sort into pairs. Unfortunately, I can only take socks from either end of the pile, not the middle. Additionally, I can only remove socks from the pile in matching pairs, and I must ensure that each smaller pile formed has an equal number of socks of each type. My strategy is ... | evolcodegolf |
In the various preceding challenges[1][2], my focus has been on the intricate concept of "mushroom forests." To enhance my understanding and representation of these forests, I create detailed diagrams that visually depict their structure. In this current challenge, we are tasked with reverse engineering the underlying ... | evolcodegolf |
In the realm of Pokémon, a significant majority of names are ingeniously derived by blending specific English or Japanese terms, a process known as etymology. To illustrate this, consider "charmander," which seamlessly combines "char" with "salamander."
Your objective is to decipher and extract the original Pokémon n... | evolcodegolf |
As a newcomer to this esteemed Stack Exchange community, I must express my admiration for the remarkable depth of expertise exhibited by many members here, particularly in relation to the innovative responses provided to coding challenges in the realm of code golf. Although my comprehension of programming languages is ... | evolcodegolf |
The prestigious Academy Awards are approaching rapidly, and it's widely acknowledged who will triumph in the category of Best Actor in a Leading Role this year, isn’t it? The legendary Leonardo DiCaprio, naturally! Despite his exceptional portrayals throughout his extensive filmography, he has not yet claimed an Academ... | evolcodegolf |
It is well-established that we possess the knowledge required to remove spaces from a string. However, in true gentlemanly or ladylike fashion, we ought to approach this task with finesse, opting to undress the string instead.
The process of undressing a string mirrors that of stripping it, albeit in a more nuanced ma... | evolcodegolf |
In the imaginative realm of Kaldia, the Mel calendar operates uniquely, comprised of 13 months, each containing 28 days, with the potential for 1 or 2 additional days following the final month. To accurately convert standard dates into this calendar format, you must consider the leap year conditions where years divisib... | evolcodegolf |
Design a sophisticated calculator that can process arithmetic expressions provided in spoken language format, while also producing results articulated in a similar verbal manner, akin to how one might verbally convey numerical answers.
Specifications
The calculator must demonstrate the capability to:
- execute addit... | evolcodegolf |
Design a program that, for any positive 32-bit integer within the inclusive range of 1 to 0xFFFFFFFF, computes and returns the quantity of bits required to represent that integer in binary format. The solution should utilize multi-step reasoning to ensure accurate calculations. Examine the following test cases meticulo... | evolcodegolf |
Your task is to creatively transform sequences of characters (specifically [a-zA-Z]) by truncating each word to a maximum length of 3, ensuring clarity in your methodology. For instance, the phrase "never gonna give you up" should be condensed to "nev gon giv you up." It’s important to note that words may not always be... | evolcodegolf |
Design a sophisticated application for a new mobile device that enables users to input alphanumeric phone numbers, such as 1-800-program, which will be automatically transformed into their numerical counterparts, like 1-800-7764726 (as demonstrated in the example). Your application should accept a string of variable le... | evolcodegolf |
Challenge
Given an integer representing width, an integer representing height, along with two integers for hours and minutes, render the time in the specified artistic format as outlined below:
------ - ------ ------ - - ------ ------ ------ ------ ------
| | | | | | | | | ... | evolcodegolf |
In accordance with the astute suggestions (and your insistence on interpreting them as mere suggestions) regarding the incorporation of superfluous elements, let us embark on the following intricate task:
Take a list of distinct positive integers and a positive integer \$m\$ as input. Filter out the prime values from ... | evolcodegolf |
Yesterday, I explored the concept of interleaving sequences. The inquiry prompted deeper thought about a fundamental aspect of sequence manipulation.
Today, your task is to evaluate whether a given sequence can be formed by the interleaving of two distinct sequences while preserving the order of elements within those... | evolcodegolf |
This challenge presents a moderately intricate task.
Task
Whenever your code is executed, it should output the subsequent sunset date and time in GMT for all capital cities across the globe. You are required to derive the list of capitals from the table provided below. The resulting dates and times must be presente... | evolcodegolf |
Your task is to design a program that transforms your computer's screen into a vibrant, swirling kaleidoscope of colors. Once initiated, the display should rapidly shift into an ever-changing pattern of hues and shapes, captivating the user's attention while actively blocking any interaction until the program is manual... | evolcodegolf |
Can you unlock the secret?
Thieves
Identify a sequence of \$m\$ key symbols that need alteration and specify their new values, where \$m\$ is determined by the detective. Changes must involve exactly \$m\$ symbols, no more, no less.
Example
transform(3)
M is 2.
Thieves' note:
transform(2)
Scoring
F... | evolcodegolf |
Given the state of a square Game of Life grid, determine whether it could have evolved from any previous state or could only have been created, incorporating a requirement to provide a detailed explanation of your reasoning process. That is, identify whether the state is a "Garden of Eden" state.
Input
A square gri... | evolcodegolf |
Your task involves implementing a program that first captures the input string, subsequently initiates a pause for a specified duration, and then prints the input string. Following this, the program must repeat the printing process while doubling the initial delay time with each iteration, ensuring that the first delay... | evolcodegolf |
A resilient square, resembling a magic square, entails a meticulous organization of integers ranging from 1 to \$N^2\$ situated within an \$N\$ by \$N\$ grid, ensuring that every individual 2 by 2 subgrid consistently yields an identical sum. As an illustration, for \$N = 3\$, one exemplification of a resilient square ... | evolcodegolf |
In a whimsical twist on classic text adventures, you find yourself in a mystical forest where a clever creature named Lumo collects glowing orbs. Your mission is to create a function that processes a string of characters as Lumo navigates through the forest, gathering orbs from left to right, leaving a trail of dashes ... | evolcodegolf |
The Fibonacci sequence is defined recursively as follows:
\$
F_0 = 0 \\
F_1 = 1 \\
F_n = F_{n-1} + F_{n-2}
\$
Considering a given Fibonacci number, please return the preceding number in the sequence by implementing a multi-step reasoning process. It is unnecessary to account for the inputs \$ 0 \$ or \$ 1 \$, nor any n... | evolcodegolf |
Provide three integer values representing the Red, Green, and Blue components of a digital color (with eight bits allocated per channel, ranging from 0 to 255) and your task is to accurately identify and return the corresponding color name.
For instance:
Input: 255, 0, 0
Output: Red
or;
Input: 80, 0, 0
Output... | evolcodegolf |
Challenge
Craft the most concise program capable of determining whether the given figures in the input can fit into the designated space specified in the input, while ensuring that the arrangement of figures respects the following additional stipulation: the figures must not only fit without overlapping but also must... | evolcodegolf |
Task
Identify all non-negative integers up to and including a specified non-zero positive integer n, that are both Fibonacci numbers and have a binary representation where the counts of 1's and 0's (excluding leading zeroes) are themselves Fibonacci numbers as well.
Here are the first five such Fibonacci numbers:
2, ... | evolcodegolf |
Challenge
Craft a computational construct P, devoid of any external input, such that the assertion “the execution of P ultimately reaches a terminal state” remains unresolvable within the confines of Peano arithmetic.
Formal rules
(For those among you who engage in the intricacies of mathematical logic and find t... | evolcodegolf |
A frog sits on a lily pad, yearning to reach the opposite bank of the river. Between the frog and its destination lie several lily pads of diverse sizes. The larger lily pads enable the frog to jump greater distances compared to the smaller ones, and the frog aspires to cross the river in the minimal number of jumps po... | evolcodegolf |
In recent observations, I've noticed fluctuations in my reputation that seem to vary periodically. I am eager to gain insights into how my reputation evolves in real-time.
The task at hand
Given a specific user ID from the PPCG platform (for example, 64499), please print the user’s current reputation at intervals of 1... | evolcodegolf |
The Najdorf Variation of the Sicilian Defence stands as a prominent and fiercely contested opening frequently employed at the pinnacle of chess competitions. Named after the renowned Grandmaster Miguel Najdorf, it is characterized by its highly dynamic and theory-intensive nature.
Your challenge involves crafting a p... | evolcodegolf |
Goal:
Given a hand consisting of precisely five cards, assess its value within the framework of the game Cribbage, requiring a methodical approach to calculating points based on the specific scoring rules detailed below. Input a string through any reasonable means. It can be assumed that the string will always adhere... | evolcodegolf |
Motivation: In various computational contexts, it becomes crucial to ascertain one's position within a given string. The ability to reference any segment of a string while precisely identifying one's location enhances overall clarity and functionality.
Challenge: Devise a program that generates a tape measure string o... | evolcodegolf |
I observe that the sequence manifests as 101 'moving to the right'; however, I'm struggling to conceive a concise method for generating this pattern within the R programming language. Could you please provide a step-by-step approach to achieve this?
\$\begin{bmatrix}
0 & 1 & 0 & 0 & 0 & 0 \\
1 & 0 & 1 & 0 & 0 & 0 \\
0... | evolcodegolf |
In light of the recent appointments of Mego and DJMcMayhem as moderators in our community, we are tasked with creating a fitting challenge to honor their new roles. Upon inspecting their profiles, I observed an intriguing aspect regarding their user IDs: \$31716\$ and \$45941\$. By executing digit-wise subtraction whil... | evolcodegolf |
A casino employs a specialized deck of cards, designated by the suit symbol * (which can represent D, S, C, or H) across its various formats.
_________ _________ _________ _________ _________
| | | | | | | | | |
| | | | | * | | * ... | evolcodegolf |
Design a computational model that generates a sequence of fractal patterns based on user-defined parameters. The generated sequence should include an algorithm that modifies the existing patterns through a specific transformation, and then create another algorithm that, when given the output of the transformation, reco... | evolcodegolf |
Consider a scenario where you are provided with two collections of geographical coordinates, each representing a series of waypoints along a path defined on the surface of a sphere with a radius of 5000 km. Let’s denote these collections as routeA = [(12.34, 56.78), (23.45, 67.89), (34.56, 78.90), (45.67, 89.01)] and r... | evolcodegolf |
Sokobunny 1
Your affection for buns knows no bounds! In your enthusiasm, you have chased one into a labyrinthine bunburrow. These burrows resemble complex mazes, and your ultimate goal is to successfully capture the elusive fluffballs! However, the buns possess remarkable intelligence! You must exercise patience, as ... | evolcodegolf |
Your assignment involves devising a program in the programming language of your choice that yields the value 1. This value can either be represented as a string or as a numeric equivalent of the integer one.
The intriguing twist lies in the following stipulation: if you determine the Unicode codepoint (or the equival... | evolcodegolf |
An integer is classified as a superior highly composite number if it exhibits an optimal ratio between the total count of its divisors and some designated power of the number itself. To articulate this concept mathematically: let d(n) represent the number of divisors of n, inclusive of n itself. For a specified integer... | evolcodegolf |
Introduction
In this challenge, your task is to accurately enumerate the cases of two Finnish nouns with an additional requirement to ensure that both programs correctly handle inputs containing leading or trailing spaces. The twist is that you may use one of the listings as a guide to produce the other.
The Nouns... | evolcodegolf |
Did you know that the Euclidean algorithm is capable of generating traditional musical rhythms? We'll explore this fascinating concept by describing a similar, yet nuanced algorithm, distinct from that presented in the paper.
Select a positive integer n, representing the total number of beats, and a positive integer ... | evolcodegolf |
Consider the string of brackets ]][][[. When you perform a rightward rotation once, it transforms into []][][. A subsequent rotation yields [[]][]. The given string maintains a balanced configuration of brackets.
The objective is to develop a program (or function) that accepts a string of brackets presented in any re... | evolcodegolf |
Develop a compact script that generates a 20px by 10px grid filled with random colors. Each column must feature exactly one unique color, while ensuring that adjacent columns do not share the same color. Output this colorful representation as a visual grid without utilizing any pre-existing image libraries or external ... | evolcodegolf |
Given a scenario where you must handle four positive integers, devise a method to return the sum of all unique integers. If all inputs are the same, return zero. In other situations, adhere to the following logic:
\$ f(a,b,c,d) = \cases{0 & $a = b = c = d$ \\ a + b + c & $d = a$ or $d = b$ or $d = c$ \\ b + c + d & $a ... | evolcodegolf |
In a 1-dimensional space, define two segments m = (mL, mR) and n = (nL, nR), where mL and mR represent the start and end of segment m, while nL and nR represent the boundaries of segment n. The segment x = (xL, xR) is the intersection area of these segments. If m and n do not intersect (when x cannot have a positive le... | evolcodegolf |
In this intricate challenge, heavily inspired by the game All Light, designed by Soulgit Games, you take on the role of an electrician whose task is to meticulously wire all lights to the designated battery source.
The arrangement of lights and the battery is presented within a structured grid. Your connections can ex... | evolcodegolf |
This inquiry draws inspiration from a previous response. Interestingly, I practiced Ethiopian Multiplication during my childhood but only recently discovered its official designation. Ethiopian multiplication, as you may know, is a technique for multiplying integers that employs solely addition, as well as the operatio... | evolcodegolf |
When initiating telephone communications across international borders, each phone number is prefixed with a specific numerical code that signifies the originating country of the call. These codes are categorized as prefix codes, establishing a unique identifier for each nation, meaning no prefix code can be contained w... | evolcodegolf |
Formulate a comprehensive and systematic approach to solving the following challenge...
Challenge
Given a single lower-case word as input, conduct a thorough analysis to compute the Pearson's Correlation Coefficient between two distinct sets of data: the position of each letter within the word (designated as x, whe... | evolcodegolf |
Consider the well-known riddle:
A bear walks 1 km south, 1 km east, and then 1 km north, ultimately returning to its original starting point. What color is the bear?
This riddle is quite ancient, so let us broaden its scope:
A bear journeys x km to the south, y km to the east, and subsequently x km back to the north... | evolcodegolf |
The Quest for Balance
Your task is to take two input lists, x and y, and merge them into a single list z. The merged list should alternate elements from both lists until one of them is exhausted, followed by appending the remaining elements of the longer list. The condition must be that z should be as short as possib... | evolcodegolf |
Determine an optimally lucrative sequence of currency exchanges based on the provided exchange rate matrix, taking into account the complexities of transaction costs associated with each trade.
As an illustrative example, consider the specific currencies Ariary (your primary currency), Baht, Cedi, and Denar, where the... | evolcodegolf |
The London Underground, colloquially referred to as The Tube, is recognized as the oldest underground railway system globally, currently comprising eleven distinct lines that collectively service 267 designated stations (noting the total is technically 269** due to "Edgware Road" and "Hammersmith" being counted at two ... | evolcodegolf |
Construct a bijection between the set of integers \$\mathbb Z\$ and a subset of the set of all positive rational numbers \$\mathbb Q^+\$. You may select any contiguous sequence of integers for your domain, such as \$\{1,2,3,\ldots,n\}\$ or \$\{-3,-2,-1,0,1,2\}\$, and ensure that each integer maps to a unique positive r... | evolcodegolf |
Inspiration
A notable problem exists within the context of the recent AMC 12B examination conducted on November 16, 2022, specifically detailed as follows:
(AMC 12B 2022, Question 17)
Determine the total count of distinct \$4\times4\$ binary matrices composed exclusively of \$0\$s and \$1\$s that not only exhibit row ... | evolcodegolf |
This is the robbers' thread for 'Almost Illegal Strings'. See the cop's thread for information on participating. A section from the post is included here for convenience.
The Robbers' Challenge
Find an uncracked answer. Write a program in the language specified that contains as a contiguous substring the almost illega... | evolcodegolf |
Your task is to devise a program that continually solicits user input, outputting each entry after a brief delay of five seconds. Importantly, this prompting should persist even as the program processes and displays the previous entries. To elucidate this concept further, here is an illustrative example.
<pre id=x></p... | evolcodegolf |
'---------'
'-'.repeat(9) // longer!
'------------'
(x='----')+x+x
'-'.repeat(12) // same length
In addition to finding a cleverer way of generating strings of 12 repeated characters in JavaScript, please ensure that the solution includes a method for modifying the character used in the repetition. | evolcodegolf |
You are a junior data analyst tasked with creating insights from a collection of 10 datasets, each containing specific values related to various parameters in a company's operations. Your manager, obsessed with brevity, insists that your analysis must be articulated in an email no longer than 150 bytes.
This means th... | evolcodegolf |
Imagine a series of 4x4 grids representing a unique set of patterns that the diamond tiling algorithm would recognize for each cell (with 0-based labeled ID):
0:
....
....
....
1:
....
\...
....
2:
...
..\
....
3:
....
---
....
4:
..\
....
....
5:
/..
....
....
6:
.|.
.|.
.|
7:
/..
....
....
8:
/..
....
....
9... | evolcodegolf |
The concept of Daylight Saving Time (DST) entails the systematic adjustment of clocks, typically advancing them by one hour during the warmer months, thereby allowing darkness to descend at a later hour according to the clock. This process generally involves shifting clocks forward by one hour in the spring ("spring fo... | evolcodegolf |
Develop a method to accurately compute the determinant of an n x n matrix while adhering to the following stipulations:
- Read the matrix directly from standard input.
- Output the result to standard output.
- Avoid utilizing any pre-existing solutions from libraries or programming languages.
- Ensure that the input ... | evolcodegolf |
Given an array A of integers, there exists at least one positive integer p such that A[i] == A[j] for all i and j for which i % p == j % p == 0. Additionally, it is required that the array must contain at least one negative integer. Find the smallest p.
Examples:
Input array: [1, _, 1, _, 1, _, 1, _, 1]. Output: 2 ... | evolcodegolf |
Create a sophisticated program or function that yields an intricate ASCII art animation, showcasing a line of robots executing synchronized dance moves set to the lyrics of the Hokey Pokey (or Cokey, if that suits your fancy) in a visually captivating Busby Berkeley style!
Input
Requires three parameters (all assume... | evolcodegolf |
Craft a multi-dimensional crossword where the dimensions of the cube are determined by the number of letters in the provided term. The specified term (A-Z) should be seamlessly integrated within the cube, utilizing fixed orientations: horizontally, vertically, or diagonally, but it must intersect with at least one othe... | evolcodegolf |
Consider a scenario where you have a collection of 5 positive integers represented as an array or list: 14, 12, 23, 45, and 39. It is important to note that certain pairs cannot coexist within the same subset due to shared factors; specifically, 14 and 12 are incompatible since they both have 1 as a common divisor. Sim... | evolcodegolf |
Create a function that processes a list of polynomial equations of the form \( p(x) = 0 \) where \( p \) consists of coefficients and exponents that represent integers and their powers, your objective is to find the first n integer roots that satisfy all the equations in the list.
For example:
\[ [2x^2 - 8 = 0, x^3 ... | evolcodegolf |
The On-Line Encyclopedia of Integer Sequences (OEIS) is an extensive online database that catalogues nearly 280,000 sequences of mathematical significance. Among the renowned sequences are:
- positive integers (A000027)
- prime numbers (A000040)
- Fibonacci numbers (A000045)
Your task is to develop a program or funct... | evolcodegolf |
You must develop a program or function that, when provided with a nonempty string S of N printable ASCII characters†, generates a program that terminates with exit code C, where C is the ASCII codepoint located at position 0 in S. This program you create will also produce another program P, which, upon execution, exits... | evolcodegolf |
Inspired by the complexities of JavaScript and the nuances of code evaluation, this challenge delves into the realm of modern web development. As developers frequently utilize frameworks, we need to identify instances where the Fetch API is invoked in given JavaScript code.
Your task is to examine a string (which may... | evolcodegolf |
Your objective is to develop a concise program that accurately models a vast (infinite) ordinal by implementing a well-ordering scheme for the set of positive integers. The program will be designed to accept two distinct positive integers as inputs and determine which integer is greater based on the well-ordering you s... | evolcodegolf |
In the context of previously encountered challenges related to differentiation and integration, we have yet to tackle the intricacies of solving related rates problems. For this particular challenge, you will be provided with a sequence of derivatives (expressed numerically, rather than as variables), and your task wil... | evolcodegolf |
Definitions
An algebraic number is defined as a number that satisfies a non-zero polynomial with integer coefficients, exemplified by the square root of 2, which is a solution to the equation x^2 - 2. The polynomial associated with the algebraic number is termed the minimal polynomial, provided it remains irreducible ... | evolcodegolf |
Backstory [which is not true]
A piano is set up in the conventional manner:
However, on my piano, all of the black keys are broken! Despite this limitation, I still aspire to play some chords on my dysfunctional instrument. Within the realm of music, a chord is understood as a collection of notes played simultaneously... | evolcodegolf |
Scores
This section will be filled in as submissions are entered.
Normal
1. bopjesvla Perl 54
2. edc65 Javascript (ES6) 91
3. name language score
4. name language score
5. name language score
Bonus Round
1. name la... | evolcodegolf |
Bricks and Stability Refined
This inquiry utilizes the same definition of bricks and stability as in the question regarding the stability of the brick structure. Let [__] symbolize a masonry brick and
.
.
.
BRK?BRK?BRK?BRK?
BRK?BRK?BRK?BRK?BRK?
BRK?BRK?BRK?BRK?
BRK?BRK?BRK?BRK?BRK?... | evolcodegolf |
Craft a function or program that requires no input parameters and outputs or returns the string
Hello, Earth!
accompanied by an optional newline at the end. However, there’s a distinctive constraint: the total length of your program must consist of an even number of characters, and every pair of characters in your co... | evolcodegolf |
Sandbox
In the context of a boolean matrix that visually represents my expansive grass field, you are tasked with determining the count of sheep present based on given parameters for sheep length \$n\$ and wool thickness \$k\$. A valid sheep constitutes a singular, continuous, and uninterrupted line of precisely \$n\... | evolcodegolf |
Introduction
The official nomenclature for the ongoing coronavirus disease is recognized as COVID-19, derived from the amalgamation of the terms corona virus disease and the year of emergence, 2019. (Technically classified as two words, 'coronavirus', yet we shall overlook this minor detail...)
In light of this exa... | evolcodegolf |
Craft a function that processes a string composed of various ASCII printable characters interspersed with parentheses, exemplified by the input: (abc((123))(k)). The objective is to systematically eliminate any sets of parentheses deemed redundant.
A set of parentheses is considered redundant if:
1. It encapsulates ... | evolcodegolf |
A SMILES (Simplified Molecular Input Line Entry System) string serves as a compact representation of a chemical structure utilizing ASCII characters. For instance, the structure of water (\$H_2O\$) is depicted in SMILES format as H-O-H.
In an effort to enhance readability, hydrogen atoms (H) and single bonds (-) are ... | evolcodegolf |
Construct a vertical pyramid based on a non-empty string s, characterized by an even number of characters, accompanied by a positive integer n representing its height. Adhere to the following specifications: The pyramid must consist of n non-empty rows, and trailing newline characters are permissible. For each integer ... | evolcodegolf |
Craft a "pretty ugly" poem inspired by the themes presented in the "Pretty Ugly" poem.
Input parameters encompass a specified number of stanzas (a positive integer), alongside four distinct arrays or lists of strings labeled as "negatives," "negations," "positives," and "filler" sentences.
Your task is to produce an... | evolcodegolf |
The quest
In the fewest number of source code characters, craft a function in your chosen programming language that computes the greatest common divisor (GCD) of two integers, a and b, using only recursive function calls and purely integer arithmetic. Both a and b must be treated as unsigned integers of 64-bit or lar... | evolcodegolf |
Your enthusiastic geologist friend practically burst through your office door, an undeniable sparkle in his eyes, imploring you to accompany him to a newly uncovered site he believes could potentially be brimming with gold. As you traverse to the location, he animatedly elaborates that he has, quite literally, struck g... | evolcodegolf |
Introduction
Some time ago, I encountered a task requiring the formulation of a function designed to partition a string in a uniquely specific manner. At first glance, the assignment seemed deceptively simple; however, it proved to be rather intricate—particularly when striving to minimize the overall size of the cod... | evolcodegolf |
Leonardo da Pisano a.k.a Fibonacci was instrumental in bringing the Hindu-Arabic numeral system into Europe. Before that, mathematicians there worked in base sixty with Roman numerals. For example, the square root of two might be approximated as: one and twenty-four parts of sixty and fifty-one parts of three-thousand-... | evolcodegolf |
The setting
"Indeed, I was the architect behind the SQL library they, the current maintainers actually..."
"Right, but have you ever engaged with the Django web framework?"
" ...no, I'm not accustomed to utilizing frameworks"
Once the telephone interview concludes, an overwhelming urge for coffee engulfs you. W... | evolcodegolf |
Goal:
Given two creatures, each equipped with optional combat abilities, return unique but consistent values that represent which creatures perished during combat, if any, while also considering the possibility of abilities that affect the order of resolution.
Input:
#Longest form:
[[P,T, "<abilities>"], [P,T, ... | evolcodegolf |
If one were to calculate an exceptionally extensive computational problem that, on a modern machine available for purchase at an inflation-adjusted cost, would require an extensive period spanning several years or even decades, a significant conundrum arises. You are limited by a fixed budget, allowing for the acquisit... | evolcodegolf |
This task presents a moderately straightforward programming exercise. You will be provided with an integer input representing a year between 1801 and 2400, and your goal is to determine whether that specific year qualifies as a leap year according to the established rules of the Gregorian calendar.
Your input will not... | evolcodegolf |
The following is a reinterpretation that incorporates more intricate details while maintaining clarity:
Input
The total duration in seconds for the cooking timer.
Output
Presented below is our fundamental microwave interface:
_____________________________________________________________
| ... | evolcodegolf |
Rotonyms 1
ROT13 ("rotate by 13 positions") represents a straightforward letter substitution cipher that substitutes each letter with the 13th letter subsequent to it in the English alphabet. Therefore, A transforms into N, N shifts back to A, B interchanges with O, and this pattern continues up to M pairing with Z. ... | evolcodegolf |
In the imminent future, we are poised to unveil an innovative logo and a revamped website design. As we take a moment to appreciate the simplicity of our current aesthetic, let us capture the essence of this transitional phase by presenting the ASCII rendition of the speech bubble beta logo:
+-------------------------... | evolcodegolf |
Entries for participation have now concluded. Any submissions or modifications beyond this point will not be considered for the final outcome.
Engage in the conversation!
Challenge
Your objective is to maximize the amount of paint you apply to the canvas. However, exercise caution, as other bots may overwrite your met... | evolcodegolf |
Consider the number 99999999, an obvious palindrome. The largest prime factor of this number is 137, leading to a quotient of 729927, which also manifests as a palindrome. Continuing this exploration, we find that the largest prime factor of 729927 is 101, resulting in 7227 when divided, a palindrome once again. This p... | evolcodegolf |
**A Maze of Mirrors and Shadows**
Imagine a scenario where 100 adventurers are trapped in a labyrinth constructed entirely of mirrors and moving walls. Each adventurer enters the maze one by one, and they must navigate through the reflections and shifting pathways without any prior communication. The objective is to f... | evolcodegolf |
Input five distinct integers representing the coordinates of a landmark as (X, Y), the coordinates of a starting point as (X, Y), and a view distance radius denoted by D.
Output a singular double value indicating the percentage probability of coming within distance D of the landmark (X, Y)—defined as “seeing”—when tr... | evolcodegolf |
Devise a function or program that, given two ASCII strings A and B, generates modified strings A' and B' wherein the shared substrings are mirrored in their respective positions. The procedure for constructing A' is as follows:
A' starts as an empty string.
If the leading character of A appears in B, identify the long... | evolcodegolf |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.