instruction_seed stringlengths 29 40.5k | source stringclasses 6
values |
|---|---|
The construction of the wall mandated by Trump is now your responsibility, and efficiency is paramount! To facilitate this process, I have devised a structured, repeatable pattern to guide you in the construction:
__ __
| |_| |
___| |___
- - - -
- - - - - - -
- - - - - - - -
—————————... | evolcodegolf |
The plus-minus recursive sequence
The plus-minus recursive sequence begins with two initial seeds, denoted as a(0) and b(0). Each successive term of this sequence is derived from the arithmetic operations involving the preceding two terms. Specifically, the relationships are defined as a(N) = a(N-1) + b(N-1) and b(N)... | evolcodegolf |
This isn't very widely recognized in mathematical circles, yet what is conventionally identified as the Fibonacci sequence, represented numerically as
1, 1, 2, 3, 5, 8, 13, 21, 34...
is more accurately referred to as the Duonacci sequence. This nomenclature arises because the subsequent term is generated by the ar... | evolcodegolf |
In this intriguing challenge, you are presented with a specialized abacus featuring 4 distinct rows, each composed of 8 designated positions. The configuration of beads is as follows: the first row contains 1 bead, the second row has 2 beads, the third row is equipped with 3 beads, and the fourth row comprises 4 beads.... | evolcodegolf |
There appears to be a persistent enthusiasm surrounding the extensive study and adaptation of alternative keyboard layouts such as Dvorak or Neo, allegedly aimed at enhancing typing efficiency. However, I contend that transitioning to a different keyboard layout is fundamentally flawed, as it can require several months... | evolcodegolf |
This challenge has been divided into parts. Your goal is to convert a sentence into a form of 'short-hand.' For Part 1, these are the rules:
Take in 1 word. Remove all vowels (a, e, i, o, u), except the ones at the beginning and the end. If a letter is repeated more than once consecutively, reduce it to only one (e.g.... | evolcodegolf |
The Kempner series represents a mathematical sequence that sums the inverses of all positive integers excluding those that feature a "9" in their base-10 representations (e.g., \$\frac{1}{1} + \frac{1}{2} + \frac{1}{3} + .. + \frac{1}{8} + \frac{1}{10} + ...\$). Notably, in contrast to the Harmonic series, the Kempner ... | evolcodegolf |
**Exploration**
Your task is to determine the total number of potential messages that can be sent on a theoretical messaging platform where each message can be composed of a maximum of 500 characters, and each character can be any of the 1,200,000 unique symbols available. The total number of possible messages can be... | 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 language score
2. ... | evolcodegolf |
Your task is to devise a unique program or function in a programming language of your choosing, which accepts a string composed solely of ASCII characters (excluding NUL). The goal is to process this input by removing all instances of a specifically defined character: the period (0x2E). For example, if you receive the ... | evolcodegolf |
Your task is to generate a representation of one side of a Koch snowflake to the nth depth while ensuring that the visual structure adheres strictly to ASCII art conventions. It is not necessary to create the entire snowflake; simply focusing on one side of the initial triangle will suffice. For further reference, plea... | evolcodegolf |
Your task is to create an arrangement of boxes utilizing a single specified ASCII character, adhering to the detailed specifications provided in the input parameters.
Test Cases
1 1 --> =====
= =
=====
1 2 --> =========
= = =
=========
2 1 --> =====
= =... | evolcodegolf |
In a distant future, a sect of linguists believes that the world’s fate hinges on cataloging the perfect phrases to summon peace and harmony. They decide to create a comprehensive lexicon consisting solely of phrases crafted from a restricted vocabulary of 15 unique words, each representing a core concept of unity. The... | evolcodegolf |
Given that I have recently modified my SE username to reengage with the community after some time away, I am still inclined to pose questions and possibly accumulate votes. However, let's consider a hypothetical scenario wherein a platform encounters challenges with username modifications. The task at hand is as follow... | evolcodegolf |
There exists a Brainfuck interpreter inquiry from 2011; however, it does not align with contemporary site standards and contains ambiguity in several aspects. After proposing a refreshed version in the chat, it garnered positive feedback. Therefore, I am presenting the refined challenge below.
Objective
Given a spe... | evolcodegolf |
A deficiency in social interactions propelled an economically disadvantaged individual with a penchant for technology to create yet another superfluous esolang designated as !+~%. Strangely, it begins by initializing the accumulator to 6 and supports the following commands:
! (out(Accu); Accu = 6) prints the accumulat... | evolcodegolf |
In celebration of Bacon Day, a special hat designated for participants is whimsically named "Mmmm Bacon." What more delightful way to honor this day than by crafting elaborate 2D matrices intricately composed of strips of bacon! A singular 1 by 1 bacon strip is symbolically depicted as follows:
-----
)===)
(===(
)===)... | evolcodegolf |
When engaging in the nuanced practice of piano playing, it is essential to employ distinct fingers for pressing two notes on the same key to ensure an optimal auditory experience—though I find myself questioning the validity of this assertion as noted by my piano instructor. Nevertheless, the objective remains clear: t... | evolcodegolf |
Given the year 2019, which stands out due to its intriguing structure as it consists of two sub-numbers (20 and 19) that reflect a sequence of consecutive descending integers, you are tasked with an engaging challenge.
Your objective is to take an integer x and return the length of the longest sequence of consecutive,... | evolcodegolf |
Your task involves an intriguing twist: produce a response that, when combined with a preceding answer, creates a unique narrative. However, there's a key limitation: you may not reuse any words from the previous response beyond the last word. For instance, if the first response reads:
1 - Fantasy
Once upon a time in ... | evolcodegolf |
In the context of this Coding Golf challenge, your task is to meticulously convert one coding convention characterized by TitleCase into lower_case_with_underscores, and conversely, perform the opposite transformation as well.
Specification
You are required to adjust the casing in the following manner:
1. If an unde... | evolcodegolf |
Background
Drawing inspiration from a game that my four-year-old received from his rabbi, the premise involves a systematic search for letters in a designated order. The "goal" is to "locate" the letters in a specific sequence, such as aecdb. You are presented with a stack of letter cards, for instance, daceb. The se... | evolcodegolf |
It is currently February 29, 2024, 10:30:00 am, and you must be at least 10476000 seconds old to attend the Leap Day Festival. Given the year, month, day, hour, minute, and second of your birth, determine if you meet the age requirement to join the festivities.
Notes:
- Assume that you are in the same timezone.
- T... | evolcodegolf |
Introduction
So my boss is making me do some manual labor...urgh...I have to take a part out of a box of parts, process it and put it back in the box. To make this more interesting, I try to sort the parts as I do this, as each part has a unique alphanumeric serial number. Unfortunately, I only have room to have four... | evolcodegolf |
Define a "well-formed logical statement" recursively:
Any atomic proposition (denoted by P, Q, R, etc.) is a well-formed logical statement.
If s is a well-formed logical statement, then so is (¬s) (negation of s).
If p and q are well-formed logical statements, then so are (p ∧ q), (p ∨ q), (p → q), and (p ↔ q) (conjun... | evolcodegolf |
Develop the most concise implementation—be it a program, function, or any applicable construct—that effectively partitions a provided string based on un-nested commas. A comma is deemed nested if it exists within any combination of parentheses, brackets, or braces.
Input and output
The output must be formatted as a li... | evolcodegolf |
The Challenge
Develop an intricate program capable of accurately calculating the frequency and duration of a ball's bounces based on a trio of specified input variables, ensuring a comprehensive analysis of their impact.
Input
You will receive three parameters which must be processed according to your preferred ... | evolcodegolf |
Let \$n=42\$ (Input)
In this scenario, we identify the divisors of the number, which are: 1, 2, 3, 6, 7, 14, 21, and 42.
Next, we compute the square of each of these divisors, yielding: 1, 4, 9, 36, 49, 196, 441, and 1764.
Subsequently, we take the cumulative sum of these squared values, resulting in 2500.
As \... | evolcodegolf |
Sandbox
Have y'all ever experienced the frustration of composing an answer that inadvertently incorporates unprintable ASCII characters, leading to a longing for a more straightforward method to express these characters in a visually intelligible format? This scenario is precisely what motivated the creation of the C... | evolcodegolf |
A palindromic number is defined as a numeric value that retains its original sequence when read from either direction. Yet, this characteristic warrants further exploration: how do these palindromic properties manifest in various numerical bases beyond the conventional base ten system?
Input
Any integer b where b > 1... | evolcodegolf |
Given your awareness of the count and the specific types of chess pieces that have been eliminated from play, could you theorize on potential scenarios surrounding the identities of the perpetrators, the specific victims, and the mechanisms of these eliminations?
Context
Throughout the duration of a chess match, the ... | evolcodegolf |
A two-dimensional grid will encompass various objects defined as follows:
^,>,v, or <: A laser emitter oriented upwards, to the right, downwards, or to the left, respectively. The grid may feature multiple emitters. Lasers traverse straight lines in unoccupied regions (unoccupied space is denoted by a dot .). Lasers a... | evolcodegolf |
Recently, I was introduced to an intriguing puzzle game known as Solitaire Chess, which entails a set of unique rules that I will summarize here for clarity:
The game is played on a 4x4 checkerboard.
All pieces belong to the same color (no opposing teams) and are capable of capturing any other piece on the board.
Each... | evolcodegolf |
Golfers.
United in our quest for programming excellence, we strive to produce code that is not only concise and functionally beautiful but also surpasses the grotesque aesthetics of the Phantom of the Opera from the original novel. The moment has arrived for us to restore elegance to the realm of programming, enriche... | evolcodegolf |
Embarking on yet another Pokémon challenge seems like an exciting endeavor! Although Pokémon Go may have faded from mainstream popularity, the task at hand remains intriguing.
Your objective involves generating an image of a MISSINGNO. This unofficial Pokémon, recognized in the video games Pokémon Red and Blue, has be... | evolcodegolf |
For an experimental coding project, I'm delving into converting the complex number 2⅓ + 4i into base 53. Transitioning between number systems can be nostalgic, reminiscent of my initial programming experiences with hexadecimal calculations; it's a fairly straightforward task for integers. However, tackling floating-poi... | evolcodegolf |
Introduction:
The universally recognized children's song, "Head, Shoulders, Knees and Toes," has likely undergone numerous translations across various languages, bringing joy to countless children worldwide. The lyrics are as follows:
Head, shoulders, knees and toes, knees and toes
Head, shoulders, knees and toes, k... | evolcodegolf |
Your task involves analyzing a specific representation of ASCII art constructed using characters such as vertical bars |, underscores _, and spaces, to determine if the entirety of the artistic arrangement can be completed in a singular continuous stroke without re-tracing any segment or lifting the drawing instrument,... | evolcodegolf |
Design a program or function that renders an input string around the discrete circle with the minimal possible radius while ensuring that the output maintains symmetry about both the vertical and horizontal axes. For instance, for the input "This is an example," your output should resemble:
```
a si
n s
... | evolcodegolf |
Design a function named mergeAndInsertIntervals(existingIntervals, newRange) that takes a sorted list of intervals and a new range as input. Your task is to merge overlapping intervals and insert the new range into the list while ensuring that the resulting intervals remain disjoint. The output should reflect any modif... | evolcodegolf |
Develop a program that systematically prints or returns one of the specified strings exactly as they appear below, ensuring that the output adheres to the following format while also emphasizing the absence of the letter L in the sequences provided:
abcdefghijkmnopqrstuvwxyz
ABCDEFGHIJKMNOPQRSTUVWXYZ | evolcodegolf |
In the context of the task at hand, please undertake the transformation of a nondeterministic finite automaton (NFA) into its equivalent deterministic finite automaton (DFA) with an emphasis on demonstrating a comprehensive, multi-step reasoning process throughout. Your approach should ensure a thorough examination of ... | evolcodegolf |
Devise a function or comprehensive program that systematically encodes a given string into a Code 39 format barcode, wherein each character is represented through a combination of five bars interspersed with four gaps. The encoding can adopt one of two variations: either featuring two wide bars and one narrow gap while... | evolcodegolf |
Introduction (may be ignored)
Putting all positive numbers in its regular order (1, 2, 3, ...) is a bit boring, isn't it? So here is a series of challenges around permutations (reshuffelings) of all positive numbers. This is the second challenge in this series. The first challenge can be found here.
In this challen... | evolcodegolf |
Challenge:
Input:
A sorted collection of distinct positive integers.
Output:
The count of integers that retain their original index positions following the leftward rotation of each integer by a number of digits corresponding to its index and subsequent re-sorting of the adjusted list.
Example:
Input: [8,49,73,102,259,... | evolcodegolf |
Design a unique program that retrieves any sequence of 100 digits from the decimal expansion of Euler's number (e). You should specify the starting index of the requested digit series. Note that the integer part before the decimal is not included in the count.
For instance, you might produce one of the following outpu... | evolcodegolf |
Overview
Run-length encoding — a method for compressing sequences in which identical data values occur in multiple consecutive data elements is represented as a single data value alongside its count.
When applying run-length encoding:
Input: ABBBCCACB
Output: 1A3B2C1A1C1B
This instance results in an output that exc... | evolcodegolf |
Introduction
The two most prevalent trigonometric functions, sine and cosine (abbreviated as sin and cos), possess the capability to be expanded into matrix-valued functions. One method for deriving these matrix-valued counterparts is through the application of the following notable trigonometric identities:
$$
e... | evolcodegolf |
Compose two distinct rectangular code blocks, each measuring w characters in width and h characters in height, designed to effectively implement Conway's Game of Life when arranged within a grid format. (w and h can be any positive integers.) For illustration, the two code blocks could appear as follows: (w = 3, h = 2,... | evolcodegolf |
Given a positive integer n and e, with the stipulation that e<n and n is the product of two distinct odd primes (which are not provided), identify a positive integer d that is less than n and satisfies the condition that (me)d ≡ m (mod n) for every integer m. Additionally, your solution must incorporate an optimization... | evolcodegolf |
Overview
Given the integer representation of three elements in GF(2^64), determine the product of the first two elements over GF(2^64) using the reducing polynomial defined as the polynomial m such that m(x) = x^64 + n(x), where n is the polynomial representation of the third element. Additionally, ensure that the fi... | evolcodegolf |
– of crisis and martyrdom
(that's the subtitle because subtitles are cool)
In this king-of-the-hill challenge in python (yup; you need go no farther to know you may not submit in java), you need to create a bot that plays a game very similar to welcome to the dungeon, ensuring it implements strategic decision-makin... | evolcodegolf |
A mountain is defined as a set of line segments where the initial point is situated at coordinates (0, a) with a constraint that a > 0, and the terminal point is at (b, 0), imposing the requirement that b > 0 as well. All intermediate points must maintain a strictly positive y-coordinate. The points on the mountain are... | evolcodegolf |
Challenge description
Let's define an W x H grid as a two-dimensional array of length H whose each subarray is of length W. Example: a 2x3 grid (. character used as a blank):
..
..
..
A unit is a single point of a grid. A block is either a single unit or a set of contiguous units (meaning each unit of a bloc... | evolcodegolf |
Given a set of eight distinct non-negative integers, generate the two 4-digit integers using these numbers that result in the highest product. Furthermore, if multiple pairs yield the same highest product, select the pair where the difference between the two numbers is maximized. For example, if the integers are 1, 2, ... | evolcodegolf |
In a mystical realm, a brave knight embarks on a quest to locate the hidden treasures scattered across a grid-like landscape. The knight starts at a random position on a grid that spans 50 columns by 30 rows and must find the treasure while facing various challenges. Your task is to write the shortest possible code to ... | evolcodegolf |
**Introduction**
In the whimsical town of Gumdrop Grove, children eagerly anticipate the annual "Snack Grab" festival. The festival is special because it features stalls that offer either delightful treats or nutritious snacks. Young Lucy is particularly fond of sweets, but her parents have set a limit on her snack i... | evolcodegolf |
Challenge
Upon receiving a provided image, your task is to ascertain whether the depicted subject is a bird or a plane.
If the image features a bird, your program must yield
bird
and if it depicts a plane, your program must yield
plane
Your program is required to produce no additional output, and the test... | evolcodegolf |
Input:
An integer n
Output:
A string A * B
Example:
12
Identifying all possible pairs of integers that multiply to n and are divisible by 2: 12 * 1, 6 * 2, 4 * 3
Calculating the differences yields:
12 - 1 = 11
6 - 2 = 4
4 - 3 = 1
Among these, the pair 4 and 3 presents the minimal absolute differe... | evolcodegolf |
Part 1 of the challenge revolved around converting the letters into specific unicode characters.
Lore
In this part, we receive the output from the function made in Part 1, which now has to be arranged in an artistic manner while adhering to specific alignment rules for aesthetic consistency.
Aim
Take 1 word as ... | evolcodegolf |
Imagine a sequence of intricate substitutions involving a unique polygon defined by its angles and vertices. Begin with a polygon defined as a hexagon (120°, 60°) that, when substituted, morphs into a combination of smaller hexagons (90°, 30°) and triangular shapes (60°, 120°).
This intricate substitution process inv... | evolcodegolf |
Given a list of positive integers in which some elements are substituted with 0, your task is to return the modified list with the zero values replaced by the missing integers.
Consider the following characteristics of the input list:
The length of the list will always be at least 2. Define the input list as "a" and... | evolcodegolf |
Background
I want to buy a plot of land and build my house on it. My house should be rectangular and as large as possible; however, the available plots have numerous rocky areas that I cannot build on, and I'm having trouble fitting a potential house on the plots. Additionally, I require the program to also output th... | evolcodegolf |
The contemporary framework for British number plates, commonly referred to as registration marks or license plates, adheres to a structured format denoted as AANNXXX, where 'AA' symbolizes a "DVLA memory tag" (effectively serving as a location identifier), 'NN' represents the age identifier, and 'XXX' comprises three a... | evolcodegolf |
Create a sequence from a string consisting exclusively of lowercase letters by applying the alphabetic numerical encoding method. To illustrate the encoding process using the word 'hello':
Initially, transform each character in the input string into its corresponding numeric value based on its sequential position in t... | evolcodegolf |
In this particular exercise, the objective is to systematically eliminate one of the features I find least appealing—namely, operator precedence from conventional mathematical notation—to align it more closely with the syntax of my preferred programming language, APL. The subset of APL that we will focus on comprises a... | evolcodegolf |
In a hypothetical scenario where \$R\$ runners participate in a race, determine the total number of distinct finishing sequences possible when exactly \$T\$ runners tie among them, taking into account that not all runners who tie need to be part of the same group.
Challenge
For given positive integer \$R\$ and a non-n... | evolcodegolf |
⡇⠟⡅⣏⣲⠊⣶⢸⡇⢠⡟⣶⡉⡢⡇⣧⡃⣲⠋⣸⡼⠙⡊⠉⡏⠉⠹⣰⣇⡞⣏⡀⡪⣶⠼⡏⡜⣶⡇⡼⣶⠈⡱⣢⠕⣏⠃⣵⣽⡀⡷⠑⢔⠟⠅⠟⢠⣾⠌⠙⢘⡞⠠⣸⣷⠑⡟⡀⣯⠙⢬⠒⡄⣏⡏⡀⡱⣞⡡⣎⢸⡄⣳⠘⡐⠆⠴⢇⡔⠛⡕⠀
⠹⠁⠐⠠⠕⠪⢎⢆⡟⠈⡜⠌⠹⠊⡁⡞⡶⠐⠸⠹⡀⣦⣄⡲⣇⠁⠬⢡⡹⣾⡇⡦⢙⡀⢠⡌⣦⡐⡇⠳⣰⣊⢪⢢⡶⡵⡌⡣⡹⡼⡜⠈⡌⠈⣯⢷⣘⡜⠏⠎⡙⠚⡈⠘⡹⠸⡔⣺⣑⡈⣬⡮⡳⠞⡘⠇⢤⡴⡴⢻⠔⢨⡀⠌⢁⣧⡘⣯⠋⠉⡶⠉⣌⡲⡊⠀
⠉⠉⢆⣽⡼⡣⠍⡶⢸⡘⡏⠢⢜⡜⡐⡿⡉⠑⠐⠉⡸⠙⡔⠈⠒⡽⠙⡀⠙⢸⡆⣧⡀⢘⡞⡜⣉⠠⡀⢀⠕⣌⡨⣂⡜⢱⣕⣱⠋⠙⢌⠊⠟⣄⡜⡎⠘⢴⡁⡐⠒⠂⡴⠊⠉⡹⡽⡱⣈⡲⣱⡬⡎⠌⣠⣴⡇⡀⣩⡸⣣⡀⡄⠈⠩⢦⡉⠙⢺⠻⢾⠈⣷⠔⢧⡀
⡀⠠⡒⠇⠰⡅⠕⢻⣇⡪⠱⡀⢀⠐⡄⡽⡆⠁⡕⡀⣡⣕⣱⠌⠒⡜⡪⢴⡺⠆... | evolcodegolf |
Your objective involves developing a program (or function) that requires no input and generates an output formatted as follows:
## *name*, *length* bytes
*code*
In this format, *name* should indicate the programming language utilized, *length* represents the byte count of your code, and *code* is the source code o... | evolcodegolf |
In the arid conditions of California, where we are experiencing a severe drought, it is crucial to ascertain the remaining quantity of water in order to implement effective conservation strategies. Given the finite nature of this resource, your code should be as concise as feasible.
Examples
| |
| |
|~~~|
|___|
... | evolcodegolf |
Analyze the DOGO programming language, providing a detailed exploration of its syntax and operations while incorporating a systematic breakdown of the commands and their functions, as well as a structured example, ensuring that the nuances of the SIT and STAY commands are clearly defined in relation to their behavior a... | evolcodegolf |
Given a piece of ASCII art formed by the characters +, -, and | (pluses, dashes, and pipes), identify a random closed loop within the structure and output a random point that lies within that loop.
Example input:
```
+----+
| |
| +--+
| | |
+----+
```
Possible outputs could include points within the identified loo... | evolcodegolf |
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 tricky part is that if I left shift your source code, the output must be left shifted too. Likewise, if I right shift your sou... | evolcodegolf |
Your assignment is straightforward: develop a compact program that randomly alters pixels within a solid black rectangle measuring 16 pixels in width and 8 pixels in height by inserting a white pixel at uniform random locations. The resultant image, sized at 16 pixels by 8 pixels, should display the inserted white pixe... | evolcodegolf |
Construct an algorithm that, upon receiving a specified integer as input, generates an array containing five perfect cubes that together equal the provided integer. Keep in mind that these cubes can be derived from positive, negative, or zero values. For instance, when the input is -10, a valid output could be [-64, -6... | evolcodegolf |
WARNING: This computational challenge may necessitate the use of 128-bit floats for adequate precision. The objective here is to execute numerical integration on a set of functions characterized by the following definitions:
\$
f(x) = cx^{c - 1}e^{-x^c}
\$
\$
g_1(x) = 0.5e^{-x}
\$
\$
g_2(x) = 5 e^{-10 x}
\$
It is stip... | evolcodegolf |
Devise a program that achieves a Wall-time execution as close to precisely 1 second as possible in your chosen programming language. While you are free to utilize any approach, it is imperative to refrain from employing methods that involve the processor entering a sleep, pause, or wait state, whether through internal ... | evolcodegolf |
Given a lexeme concluding with one of the morphemes "er", "ir", or "re" (the "infinitive"), generate the comprehensive conjugation of the lexeme as it would appear in French across the seven fundamental simple tenses. For each tense (following the specified sequence), display each subject pronoun in this precise order:... | evolcodegolf |
Gimbap (김밥), a beloved Korean delicacy, bears a resemblance to a sushi roll. To add a playful twist, consider the emoticon representation of Gimbap: @)))))))). Your task is to devise an ASCII Gimbap cutter that processes a given string composed exclusively of the characters @ and ).
**Rules:**
The input will consis... | evolcodegolf |
The Stack Exchange community appears to be lacking guidance on how to effectively transpose tables. Let's collaboratively address this challenge by developing a solution.
Given a markdown table, your task is to transpose it, adhering strictly to the following input assumptions:
1. The table must consist of no fewer ... | evolcodegolf |
In the period preceding the decimalisation of Sterling in February 1971, a pound (£ - derived from the Roman libra) was divided into 20 shillings (s - solidus), each further subdivided into 12 pennies (d - denarius). Furthermore, until 1960, a single penny could be further segmented into four farthings (though some Com... | evolcodegolf |
Your objective for today is to intricately render a Dragon Curve! For those unfamiliar with the concept, a captivating introductory video by ViHart is available (highly recommended for a deeper understanding!). Your challenge: produce a Dragon Curve that has undergone at least 9 iterations, though displaying each inter... | evolcodegolf |
Develop a computational algorithm or a specialized function that, given an integer representing the radius \( r \), calculates the precise count of distinct unit squares intersected by a circle of radius \( r \) centered at the Cartesian origin. It is crucial to note that if the circumference of the circle precisely in... | evolcodegolf |
0xUsernames
With the immense popularity of a messaging service, they are encountering significant limitations regarding username storage capacity. To alleviate this issue, they plan to implement a system where usernames are stored in hexadecimal format whenever applicable.
If a username comprises solely of the char... | evolcodegolf |
The Titius-Bode law proposes a mathematical formula to estimate the distances of planets from the Sun, suggesting a pattern in the solar system's architecture. Although it initially seemed to work for the known planets, anomalies such as Neptune and Pluto challenge its universal applicability. Despite its limitations, ... | evolcodegolf |
While immersed in a cozy evening, you may find yourself reclining in bed, engrossed in a conversation via your mobile device, when suddenly, the phone's display unexpectedly shifts into landscape mode mid-sentence. This unintended alteration, limited to a linear reading perspective, renders you momentarily perplexed an... | evolcodegolf |
Envision a competitive adaptation of the classic Tron light-cycle game framed as a king of the hill challenge!
Leaderboard
Updated as of 2022-04-05
#1) Player Avoid by Agent Biscutt
#2) Dodge West by Imanton1
#3) Space Finder by Spitemaster
#4) Blind Bot by TheSilican
Judge/Leaderboard Website
The Game
Participant... | evolcodegolf |
Input
A non-empty binary matrix composed of several adjacent 3x3 square sub-matrices arranged horizontally.
Task
Your objective is to pinpoint legitimate representations of standard dice patterns (as detailed below) among the individual 3x3 square sub-matrices. Each authentic configuration carries a score equival... | evolcodegolf |
This task represents the second installment of an intriguing series focused on implementing various functions in R. The initial installment can be referenced here.
Your objective is to create an implementation of R's match function while adhering to the constraint of minimizing byte usage.
Input parameters include:
... | evolcodegolf |
Your task is to implement the sieve technique to compute the sum of the first k powers of integers that are relatively prime to n, a fundamental concept in number theory and combinatorics. Aim for brevity.
What is the sieve technique?
Given a positive integer n, we want to find the sequence of sums p_k, where p_k is ... | evolcodegolf |
The inspiration for this concept struck me as I observed my younger brother engrossed in his play with my calculator :D
The objective:
Taking an integer as input, produce a series of graphical representations of square roots, stacked vertically, as demonstrated below:
n = 1
___
\/ 1
n = 3
_______ ... | evolcodegolf |
This particular task has undergone modifications to enhance the overall quality by removing the stringent whitespace manipulation criteria that previously diminished its effectiveness. Adjustments have also been made to the rules concerning whitespace.
I possess a strong aptitude for mental arithmetic, especially when... | evolcodegolf |
Examine all potential arrays consisting of \$\ell\$ non-negative integers constrained within the inclusive range of \$0\$ to \$m\$. Focus on those specific arrays whose cumulative sum equals precisely \$s\$. These arrays can be enumerated in lexicographical order, allowing us to assign a unique integer representing eac... | evolcodegolf |
Imagine you have observed a friend inputting a password into their Android device, and while the specific pattern eludes your memory, you distinctly recall its visual representation. As a proactive and thoughtful companion, your aim is to assess the security level of their password by calculating the total permutations... | evolcodegolf |
Objective
Construct the initial disordered array, derived from the positional shifts that an Insertion Sort algorithm would execute to arrange it in ascending order. The original array will encompass all integers ranging from 0 to N-1 (inclusive), where N denotes the length of the input sequence.
Input
An array ... | evolcodegolf |
The competition has come to a close, and the esteemed victor is user2047. Well done!
The task is to create a code snippet that outputs "Greetings, Universe!" to standard output. The twist is that your snippet must maintain a Levenshtein distance of 5 or fewer from the previous submission's code.
Here's how it will un... | evolcodegolf |
This challenge draws inspiration from the game Bloxorz, where a 1x1x2 block navigates a square grid, maneuvering in any of the four cardinal directions. The block shifts by rotating 90 degrees around one of its edges in contact with the ground. Initially, it is positioned upright on a single square of the grid. After e... | evolcodegolf |
As an ardent supporter of a football club with a modest level of success in the competitive landscape of the Premier League, I often find myself pondering, particularly as the season approaches its climax, the theoretical possibilities remaining for my cherished team to secure the championship title. Your mission, shou... | evolcodegolf |
Construct an intricate visual representation (Poincaré disk) of a tessellation within a hyperbolic plane, guided by the following four critical parameters:
1) Specify the number of edges/polygon (three for this instance).
2) Indicate how many polygons converge at each vertex (seven in this case).
3) Define the ma... | evolcodegolf |
A venerated pastime of pedants is to point out that pictures of "Rubik's Cubes" (on t-shirts, posters, etc.) are not actually solvable. The first thing that should be checked is that the cube is made up of the right pieces. To be solvable, a cube needs six colors, each with nine squares. The cube also requires that eac... | evolcodegolf |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.