task stringlengths 0 154k | __index_level_0__ int64 0 39.2k |
|---|---|
Superdoku
Description:
Alice and Bob are big fans of math. In particular, they are
very excited about playing games that are related to numbers.
Whenever they see a puzzle like Sudoku, they cannot stop
themselves from solving it. The objective of Sudoku is to fill
a $9\times 9$ grid with
digits so ... | 30,000 |
Superyatzy
Description:
Emma loved playing Yatzy when she was younger and recently
decided to try playing it again for the first time in many
years. However, she quickly realized that it was a bit boring
with just five dice, so she changed the rules to include
$N$ dice and called the
new game Super... | 30,001 |
Supply Routes
Description:
During a zombie apocalypse, it is important to stay
connected between strongholds. Maintaining supply routes
between locations is important for survival.
You are given information about a road network: its
junctions and two-way streets that directly connect junctions.
Over t... | 30,002 |
Support Vector Machine
Description:
In machine learning, the Support Vector Machine (SVM) is a
popular classifier. Given an $n$-dimensional vector $x \in \mathbb {R}^ n$, an SVM
produces a label $h(x) \in \{
-1,+1\} $ depending on where $x$ lies relative to an $n$-dimensional hyperplane.
An example applic... | 30,003 |
Surely You Congest
Description:
You are in charge of designing an advanced centralized
traffic management system for smart cars. The goal is to use
global information to instruct morning commuters, who must
drive downtown from the suburbs, how best to get to the city
center while avoiding traffic jams.... | 30,004 |
Surveillance
Description:
The International Corporation for Protection and Control
(ICPC) develops efficient technology for, well, protection and
control. Naturally, they are keen to have their own
headquarters protected and controlled. Viewed from above, the
headquarters building has the shape of a co... | 30,005 |
Surveillance
Description:
You would like to install a single camera somewhere in the
interior of a room. The room is described as a polygon with
axis-aligned sides. You would like to ensure that the entire
area of the room is visible from the camera, modeled as a point
that can see in all directions. T... | 30,006 |
Surveillance
Description:
A crime has been committed in the city of <insert name here>! All of the
donuts in the bakery next to the police station has
mysteriously disappeared. Since this is the favourite bakery of
the police, every resource available will be used to find the
thief.
The police has mad... | 30,007 |
Surveillance Squared
Description:
Many cities are setting up surveillance networks to combat
crime. Each network contains many cameras, which are located at
various places and which point in various directions. Each
camera has a viewing angle of $90$ degrees total ($45$ degrees on each side of the
cent... | 30,008 |
Sushi
Description:
Sigríður is the owner of Mæju-Sushi which is one of the most
popular sushi places in the country. Mæju-Sushi got this
popular thanks to their mystery sushi packages. When a customer
purchases a mystery sushi package, they have no idea what’s in
it, they only know that if they buy a p... | 30,009 |
Suspension Bridges
Description:
Mountain villages like to attract tourists by building
suspension bridges, such as the one depicted here in the Harz
Mountains in Germany. These bridges allow
adventurously-inclined people to seek their thrills by crossing
over deep gorges. To make sure that everyone get... | 30,010 |
Svada
Description:
The local zoo has acquired a large open garden in which
animals may freely move as in their natural habitats and
entertain visitors with their usual shenanigans.
The most popular animals are monkeys. With their climbing
and jumping and other skills, they delight old and young
visito... | 30,011 |
Svemir
Description:
Fourth Great and Bountiful Human Empire is developing a
transconduit tunnel network connecting all it’s planets. The
Empire consists of $N$
planets, represented as points in the 3D space. The cost of
forming a transconduit tunnel between planets $A$ and $B$ is:
where $(x_ A, y_ A, ... | 30,012 |
Svifdrekamaður
Description:
As everyone knows, the kiteman Sigurður Jens is famous for
gliding between buildings. Despite being very talented he can
not increase his height above the ground after the initial
jump. Thus he always has to land at a lower height than where
he started.
To prevent trouble a... | 30,013 |
Swap Frenzy
Description:
You are given a positive integer $n$ and asked to make it larger by
swapping pairs of its digits. For each swap, you can choose two
digits at different positions and exchange their positions, as
long as the swap does not result in a leading zero. What is the
largest number you ... | 30,014 |
Swap Space
Description:
You administer a large cluster of computers with hard drives
that use various file system types to store data. You recently
decided to unify the file systems to the same type. That is
quite a challenge since all the drives are currently in use,
all of them are filled with import... | 30,015 |
Swap to Sort
Description:
You are given an array $A[1...N]$ with integers in decreasing
order and a list of pairs $(a_1,
b_1)$, $(a_2,
b_2),$ $\ldots $,
$(a_ K, b_ K)$. You wish
to sort the array $A$ in
increasing order, each turn you choose an $i$ ($i$ can be chosen multiple times) and
swa... | 30,016 |
Swapping Places
Description:
You got a new graph $G=(V,E)$! It is undirected and has a
unique number $v$ at each
vertex. It is built (out of wood, steel and marble) in a way
that lets you perform a swap on any edge
$e\in E$, which has the
effect of swapping the two numbers $u$ and $v$ on the vertic... | 30,017 |
Sweep Stakes
Description:
You may have already won! In fact, you did already win! You
won your very own island, in the deepest reaches of the
unexplored ocean! Well, mostly unexplored. As it happens, there
was a small military base there before you, and when they
packed up and flew out they left behind... | 30,018 |
Sweet and Smoky
Description:
The season has come for the dragons to hatch, but it seems
like this year we’ve hit a rough patch. For though from the
eggs dragons often arise, from none of the eggs can we hear any
cries!
Indeed, the situation is quite dire. None of the eggs have
even cracked, and they a... | 30,019 |
Swimming Balls
Description:
To attract more people coming to the pool, the manager puts
a number of swimming balls into the pool. He wants to calculate
the level of water in the pool after putting $V$ ${m}^{3}$ of water and $n$ given balls into the pool. The
${i}^\textrm {th}$ ball is
a homogeneous sph... | 30,020 |
Swish
Description:
You and your friends are playing a card game called “Swish.”
In Swish, each player tries to collect as many cards as
possible from the table by collecting them in groups called
“swishes.” Almost all the cards from the table have been
collected so far, and so you wonder if there is a ... | 30,021 |
Sword Counting
Description:
Michael is planning to open a graph store. A graph store is
a type of store which specializes in selling various graphs in
different sizes and shapes. Michael has done extensive research
on the market and the business seems very profitable. He has
also invented a graph gener... | 30,022 |
Sylvester Construction
Description:
A Hadamard matrix of order $n$ is an $n \times n$ matrix containing only
$1$s and $-1$s, called $H_{n}$, such that $H_{n} \cdot H_{n}^{\top } = n \cdot
I_{n}$ where $I_{n}$ is the $n \times n$ identity matrix. An
interesting property of Hadamard matrices is that they hav... | 30,023 |
Symmetric Order
Description:
In your job at Albatross Circus Management (yes, it’s run by
a bunch of clowns), you have just finished writing a program
whose output is a list of names in nondescending order by
length (so that each name is at least as long as the one
preceding it). However, your boss doe... | 30,024 |
Symmetric Polynomials
Description:
A symmetric polynomial is a polynomial in $n$ variables that remains the same
polynomial under any permutation of the variables. For example,
$f(x_1, \ldots , x_ n) = x_1 +
\ldots + x_ n$ is a symmetric polynomial (it is in fact
called the first elementary symmetric p... | 30,025 |
Symmetry
Description:
You are totally bored with nothing to do. You notice a
pattern of spots on the wall in front of you and begin to dwell
on them. There is no obvious pattern of symmetry. With time
this becomes very grating, and you contemplate adding more
spots to satisfy your quest for balance. Fo... | 30,026 |
Synchronizing Lists
Description:
It is so difficult to keep everything in order! For this
problem, you have two lists of numbers, each list having length
$n$. Each number in one
list has a corresponding number in the other list. The
correspondence is that if both lists were in sorted and placed
sid... | 30,027 |
Símanúmer
Description:
Kristín has been rising through the ranks at the Forensic
department of the Reykjavík Police the last few years, mostly
because of her computer science skills, and is one of the top
dogs at the department. At her job she’s noticed that witnesses
are really bad at remembering phon... | 30,028 |
Sóttkví
Description:
Hannes’s birthday is in $k$ days but unfortunately all his
friends had to go into quarantine. Hannes wants to know how
many of his friends will make it to the party and looks to you
for help.
Given when Hannes’s friends went into quarantine, print how
many of his friends will make... | 30,029 |
T-shirts
Description:
During the Programming Olympiad finals, each of the
$N$ contestants is always
given a t-shirt as is customary. However, the judges are
sometimes a bit stressed out with making last minute changes to
the problem sets (only changes, mind you – the judges never
wait until the day... | 30,030 |
T9 Spelling
Description:
The Latin alphabet contains 26 characters and telephones
only have ten digits on the keypad. We would like to make it
easier to write a message to your friend using a sequence of
keypresses to indicate the desired characters. The letters are
mapped onto the digits as shown belo... | 30,031 |
Table
Description:
Famous chef Clémentine Debœuf is buying new tables for her
high-class restaurant. She has decided to go for the latest
trend, a large model with numerous, wide, yet delicate
ornaments. However, she needs to make sure that these
decorations do not hamper the perfectly tuned ballet of
... | 30,032 |
Taboo
Description:
Taboo is a popular party game. In this game one
player, the Clue Giver, prompts his/her teammates to guess a
keyword by giving clues. The Clue Giver is also given a list of
taboo strings that must not appear in the clues. For example,
if the keyword is “Bruce Lee”, the famous kung-fu... | 30,033 |
Tabs and spaces
Description:
Picture this. Your favourite code repository hosting site is
hosting a conference at Chalmers. And you’ve gone to it.
They’ve talked about a bunch of fun stuff like merge conflicts,
accidentally discarding your changes and someone force-pushing
their commit over yours so th... | 30,034 |
Tag
Description:
Every day, $N$ Chalmers
student meet up at Kemigården to play tag. In this game, there
is a hunter, and when this person tags
another person, the other person becomes the hunter instead.
After playing a couple of times, you realize that something is
not right. Namely, you have noti... | 30,035 |
Tai's formula
Description:
Can you, just like Tai, reinvent the wheel and calculate the
area under a glucose curve? Instead of publishing a paper, you
need to implement the algorithm. You need this algorithm in
your new app, that logs your glucose values that comes from a
continuous glucose monitor. Yo... | 30,036 |
Tajna
Description:
Every evening, little Ivica sends secret messages to little
Marica through e-mail. Knowing Ivica’s e-letter travels
unguarded through the network on its way to Marica’s e-mailbox,
they have decided to encrypt every message using the following
algorithm:
* Suppose Ivica’s message con... | 30,037 |
Take On Meme
Description:
The Internet can be so fickle. You work for a small ad
agency, Mimi’s Mammoth Memes. Your ad campaigns are very cheap,
and rely on the hope of producing the next hit viral meme.
Unfortunately, the last four hundred or so memes have failed to
take off, despite having been preci... | 30,038 |
Take Two Stones
Description:
Alice and Bob are playing a new game of stones. There are
$N$ stones placed on the
ground, forming a sequence. The stones are labeled from
$1$ to $N$.
Alice and Bob in turns take exactly two consecutive stones
on the ground until there are no consecutive stones on the
... | 30,039 |
Takeover Wars
Description:
You are studying a takeover war between two large
corporations, Takeover Incorporated and Buyout Limited. Each of
these corporations controls a number of subsidiaries. The aim
in this war is simply to drive the competition out of the
market. There are $N$
subsidiaries of ... | 30,040 |
Taking Out the Trash
Description:
Peter has way too much trash and he needs to take it all
out.
Specifically, there are $n$ bags of trash each with a specific
weight. Peter can hold either one or two bags of trash per
trip, and he can carry a maximum total of $m$ milligrams of trash in a single
trip. ... | 30,041 |
Takk fyrir mig
Description:
Little Sigrún is celebrating her birthday today and is
expecting a lot of guests. She’s very excited to receive all
the packages, but her mother has reminded her to thank people
when they give her gifts. Can you help Sigrún in thanking
people?
## Input
The first line of th... | 30,042 |
Takkar
Description:
## Input
The input consists of two lines. The first line has a single
integer $a$, the size of
Trump’s button. The second line has a single integer
$b$, the size of Kim’s
button.
## Output
If Trump has a larger button, print MAGA!. If Kim Jong-Un has a larger button print
FAK... | 30,043 |
Taktsveðjur
Description:
Atli plays video games instead of being productive
embarrassingly often. Often people are trying to reach him but
can’t due to him being in virtual reality and hearing nothing.
Almost without fail he is playing his favourite game
Taktsveðjur when he is in virtual reality. Takts... | 30,044 |
Tall Towers
Description:
You are very well aware of the saying “When life gives you
blocks, make towers!”. So, you decide to do exactly that.
You have $n$ blocks of
size $l_ i \times w_ i \times
1$ (that is, the height of each block is 1 unit). You
want to completely use up all these blocks such that ... | 30,045 |
Talnalás
Description:
Anna is now heading home and has to open the combination
lock. She does this by rotating the disks, each one step at a
time, such that the selected digits end up being a specific
passcode. But Anna is very superstitious and has $m$ lucky numbers. After each step she
wants to make ... | 30,046 |
Tango Tango Insurrection
Description:
You are attempting to learn to play a simple arcade dancing
game. The game has $4$
arrows set into a pad: Up, Left, Down, Right. While a song
plays, you watch arrows rise on a screen, and when they hit the
top, you have to hit the corresponding arrows on the pad. T... | 30,047 |
Tantrix
Description:
There are four different link colours: red, green, yellow
and blue. No two tiles are identical, and no tile is rotation
symmetric. A tile will be described in the input as a six
letter string, specifying the link colours in clockwise
direction. The uppercase letters ’R’,
’G’, ’... | 30,048 |
Target Practice
Description:
In target practice you sometimes shoot at cardboard figures.
In this problem a target is described by a simple polygon which
is the outline of the target. For each target you will find out
where a number of shots fired at the target struck. Some may
have hit the target and ... | 30,049 |
Target Practice
Description:
You are a newly designed and created robot. As a robot, you
are excellent at shooting lasers: your lasers always go
perfectly straight, go infinitely far, and are infinitely thin.
To test you, the scientist who made you set out a number of
targets for you to hit with your l... | 30,050 |
Tarifa
Description:
Pero has negotiated a Very Good data plan with his internet
provider. The provider will let Pero use up $X$ megabytes to surf the internet per
month. Each megabyte that he doesn’t spend in that month gets
transferred to the next month and can still be spent. Of
course, Pero can only... | 30,051 |
Tarot Póker
Description:
Konráð was invited to play poker with KFFÍ (Competitive
Programming Society of Iceland), but Atli had of course long
ago made an algorithm that plays poker perfectly and had been
abusing that fact thoroughly. To try to prevent cheating Konráð
pulled out his satanic tarot playin... | 30,052 |
Tarot Sham Boast
Description:
Curse your rival! Every year at the annual Rock Paper
Scissors tournament, you have made it to the final match. (Your
Rock technique is unmatched, and your Paper cuts to the bone!
Your Scissors need a little work, though.) But every year, he
defeats you, even though his mo... | 30,053 |
Tautology
Description:
WFF ’N PROOF is a logic game played with dice. Each die has
six faces representing some subset of the possible symbols K,
A, N, C, E, p, q, r, s, t. A Well-formed formula (WFF) is any
string of these symbols obeying the following rules:
* p, q, r, s, and t are WFFs
* if w is a WFF,... | 30,054 |
Tax the Rich
Description:
Your city is deciding whether to raise taxes or lower them
for the richest residents. Rich people are defined as those
earning an income equal to or above the mean income, while poor
people are defined as those earning an income below the mean
income (mean = average). The city... | 30,055 |
Taxed Editor
Description:
Reed Dacht is a freelance book editor who works out of his
home. Various publishers send him texts to read along with a
deadline date for when they would like his editorial comments
to be sent back to them. Reed is very precise with his reading
and will never read more than on... | 30,056 |
Taxi Cab Scheme
Description:
Running a taxi station is not all that simple. Apart from
the obvious demand for a centralised coordination of the cabs
in order to pick up the customers calling to get a cab as soon
as possible, there is also a need to schedule all the taxi
rides which have been booked in ... | 30,057 |
Taxi Driver
Description:
Travis has been a taxi driver in the city of Kroywen for
many years. He used to like his job, but the steady increase in
traffic over the decades has produced a corresponding increase
in his level of stress. Now the only part of the workday he
enjoys is hanging out with his fel... | 30,058 |
Taxing Problem
Description:
George has won the lottery and, being a nice guy, has
decided to spread the wealth around. However, monetary gifts
can be taxed once they get over a certain size—the amount of
tax depends on how much his friends have earned that year.
The amount of tax paid depends on tax bands... | 30,059 |
Teacher Evaluation
Description:
In the city of Capitalistan, all education is performed at
private school in which parents pay for their students to go to
a certain school. Generally, parents base their choice of
school on a variety of factors, such as closeness to the home,
class size, teaching style ... | 30,060 |
Team Change
Description:
Mr. Smith, the physical education teacher at Rocky Mountain
High School, likes to take a hands-off approach to teaching gym
class. What does that mean? A lot of dodgeball!
For the last few months, the students have been split into
the same two teams. But now some students are aski... | 30,061 |
Team Coding
Description:
The company Eindhoven Gigantic Open-Source Institute (EGOI)
is structured in a very hierarchical way. Except for the CEO
Anneke, each of the other $N-1$ employees in the company has a
unique boss that they report to, and there are no cycles in the
hierarchy. You can think of th... | 30,062 |
Team Up
Description:
In online games, players form teams so they can cover each
others’ weakness with different skills (e.g. healing,
buffing, teleporting). There are $n$ types of skills in the game,
labelled from $1$ to
$n$. To form a team, every
skill must be covered by at least one player in the... | 30,063 |
Telescope
Description:
Photography is a deceptively simple subject to the naïve
outsider.
In truth, viewing angles, saturation levels, contrast,
proper lighting and focusing all play a part. Today, we are
most concerned with the problem of focus.
The proudest space telescope of all, Inquisition IV,
l... | 30,064 |
Telja
Description:
Emil is having trouble counting from $1$ to $n$. He knows that the first number is
$1$ but after that he’s
completely lost. Can you help Emil count?
## Input
The first and only line contains a single integer
$n$.
## Output
Output $n$ lines in
total where the first line contains t... | 30,065 |
Temperature Confusion
Description:
Yraglac has been a bit bored with Calgary lately and decided
to move to the United States. After arriving in the strange
land, he discovered that the people there use a temperature
scale known as Fahrenheit. Celsius and Fahrenheit are related
by the following equation... | 30,066 |
Teningakast
Description:
What dice to roll is given as a string. $n$d$m$ means one should roll $n$ $m$-sided dice and sum the results.
Here $m$ sided dice are
equally likely to give the results $1, 2, \dots $ and up to $m$. $n$ and $m$ can be any strictly positive
integers, but in this problem they will be... | 30,067 |
Teningasafn
Description:
Atli owns an awful lot of dice, so many that it’s becoming
hard to keep track of it all. Thus you have been assigned the
task of measuring his dice. Being a bit of a collector, all his
dice are different size and Atli owns one die of each integer
side length from size one to $n... | 30,068 |
Tenis
Description:
After Borko’s second plan of taking over the village fell
through (because Mirko’s brother Stanko drank all the water),
young Zvonko decided to relax with sports. For this purpose he
stocked up on carrot juice and peanuts, and dived onto the
couch, ready to watch the next tennis matc... | 30,069 |
Tenkici
Description:
Mirko found a collection of $N$ toy tanks dating back to the
Second World War on his grandfather’s attic. He promptly called
his friend Slavko to play with him. They made a battlefield – a
wooden board consisting of squares in $N$ rows and $N$ columns.
Each tank can be moved to one of... | 30,070 |
Teque
Description:
You have probably heard about the deque (double-ended queue) data structure, which
allows for efficient pushing and popping of elements from both
the front and back of the queue. Depending on the
implementation, it also allows for efficient random access to
any index element of the q... | 30,071 |
Ternarian Weights
Description:
Back in the Hellenic era, there was a small island in the
Mediterranean Sea known as Ternaria. It was close to Sparta,
but because of its mountainous terrain the Spartans found it
difficult to conquer and it remained an independent state until
the great earthquake of 729B... | 30,072 |
Terrace Hill
Description:
All explored mountain terraces in Girotti hills in Charitum
Montes on the southern Martian hemisphere have a peculiar
feature – their sizes are approximately equal, and they all lie
on a hypothetical straight line.
The flat surface of the terraces is ideal for future housing
... | 30,073 |
Terraced fields
Description:
Terraced fields with beautiful landscapes in Northwest
Vietnam are popular destinations for tourists. At each terraced
field selected as a tourist attraction, the local authorities
build a staircase alongside the terraced field. The steps are
numbered from $1$ to
$n$ st... | 30,074 |
Terraces
Description:
After seeing all the beautiful landscaping around Cossin,
Yraglac is inspired to work on his own gardening. Since food is
such a scarce commodity on Mars, he decides it would be nice to
plant an agricultural crop: Martian rice. The unique thing
about Martian rice is that it will o... | 30,075 |
Test
Description:
A vocational preference test, unlike an aptitude test, seeks
to identify careers that the candidate might find satisfying.
Based on the answers to a slew of seemingly inane
multiple-choice questions like the one below, the test
determines which occupations suit the candidate’s
per... | 30,076 |
Test Drive
Description:
Larry developed a new driverless car, and he’s about to test
it. He’ll be working from home and analyzing what the car does
in a straight, empty road from a safe distance.
Due to an unprecedented issue, the only information that
Larry’s able to get from the car is its position in m... | 30,077 |
Test Scheduling
Description:
“It’s like this. Stan works as a P.I. and the local
cops have hired him as a night watchman over at Walker’s
warehouse. The Walkers have been printing counterfeit fifty
dollar bills and they were raided last night. There are 2005
sacks but there may be a few with real money... | 30,078 |
Tetration
Description:
Anthony is just now learning basic math, how exciting! He
first learns about addition
then multiplication
exponentiation
and finally, tetration
Very quickly, Anthony becomes interested in infinite
tetrations, namely
Anthony wonders, given an arbitrary real number $N$, what is the so... | 30,079 |
Tetris
Description:
Tetris is a popular computer game played in a field
consisting of $C$ columns
and an unlimited number of rows. In one move, one of the
following seven pieces is dropped into the field:
When dropping a piece, the player is free to rotate the
piece $90$, $180$ or $270$ degrees and to... | 30,080 |
Tetris Generation
Description:
The classic game Tetris involves arranging falling
tetrominoes on a board. There are seven different tetrominoes,
each named after a letter that resembles their shape:
J, L,
S, Z,
I, O, and
T.
In the original Tetris, the player would receive one
tetromino a... | 30,081 |
Texas Summers
Description:
Summer in Texas can be very hot. But Texans are tough, and
in a weird way some of them enjoy the heat; for even the heat
is bigger in Texas. But the heat can be quite uncomfortable for
computer science students who are new to Texas and are not used
to the sweating it can caus... | 30,082 |
Text Encryption
Description:
To keep privacy of messages and prevent the aliens from
reading them, we may use various encryption algorithms. These
algorithms encode a message into the so-called
ciphertext that is difficult (or impossible) to decode
for anyone else than the intended recipient. Transposi... | 30,083 |
Text Messaging Outrage
Description:
Professor Loony, a dear friend of mine, stormed into my
office. His face was red and he looked very angry. The first
thing that came out of his mouth was "Damn those phone
manufacturers. I was trying to send a text message, and it took
me more than ten minutes to typ... | 30,084 |
Text Processor
Description:
Inês is new to programming. She is writing a simple
application to handle text. So far, the app only supports
adding text to a blank document. Rita, her restless little
sister, is fascinated with all the different symbols on Inês’
screen and wants to play with it, not lettin... | 30,085 |
Texture Analysis
Description:
You are writing an analysis program that identifies textures
in black-and-white images. One subroutine in this program is
supposed to detect whether an entire row of pixels is covered
by a pattern of regularly-spaced black pixels. That is, it
determines if every pair of ad... | 30,086 |
Thank God it’s Friday
Description:
Friday is the highlight of Børge and Åse’s life. They can
meet up with their buddies in the ITU Friday bar and discuss
anything they want: the weather, sports, favourite editors,
politics, religion, and gossip about celebrities. Life can be
good.
Unfortunately, they ... | 30,087 |
Thanos
Description:
Dr. Thanos, data scientist and self-described nihilist,
recently published a paper titled The
snapping point of the universe: why rates of population growth
point towards imminent destruction. In his paper, Thanos
explains that in many planets, the increasing population count
is... | 30,088 |
Thanos the Hero
Description:
Thanos, as we all know, is the beloved character from a
popular movie franchise who is a misunderstood hero and totally
not a villain at all. Also, his favorite hobby is intergalactic
mass genocide.
It is not Thanos’s goal to kill everyone in the entire
universe – that’d m... | 30,089 |
That's How I Roll!
Description:
A new Mario Party minigame “Dicey Dictionary” has been
introduced and Bowser is trying to win it all. The mysterious
language $L$ of the Mario
Universe consists of some set of words. Bowser is trying to
decide what letters to put on his customized regular
$6$-sided d... | 30,090 |
That's One Hanoi-ed Teacher
Description:
Roberta Roberts (the older sister of Bobby in Problem F)
teaches math at a small college, and has just introduced the
Tower of Hanoi to the students in her Discrete Math class. In
case you’ve been in a Tibetan monastery for the past several
years and have never ... | 30,091 |
The Addition Game
Description:
Alan works for a company specialising in computer security.
He recently came up with what he thinks is a great public key
cryptosystem, in which the private key consists of two
permutations $\pi $ and
$\sigma $ of $\{ 1, \dots , n\} $. The public key
$(a_1, \dots , a_... | 30,092 |
The Agglomerator
Description:
In this problem, we are simulating the dynamics of moving
objects. The objects are droplets that are modeled in two
dimensions as circles of various sizes, each moving at a
constant velocity. When two circles touch they combine (i.e.,
agglomerate) into a single circular dr... | 30,093 |
The Amazing Human Cannonball
Description:
The amazing human cannonball show is coming to town, and you
are asked to double-check their calculations to make sure no
one gets injured! The human cannonball is fired from a cannon
that is a distance $x_1$
from a vertical wall with a hole through which the c... | 30,094 |
The Apple Game
Description:
Alf and Beata have a very long garden in which $N$ apple trees grow in a long line.
Each summer, the trees become filled with apples. They then
play a game with the trees. In the game, Alf and Beata take
turns picking all the apples from three trees which are
separated by ex... | 30,095 |
The Backslash Problem
Description:
When you are writing programs for a scripting language, you
often have to worry about how special characters are handled.
If you want to suppress special interpretation and have a
special character handled literally, you can escape it by
putting a backslash in front o... | 30,096 |
The Beginning of the End - Part 1
Description:
Last year, the two rulers of Equestria, Princess Celestia
and Princess Luna, had a row over what each perceived as the
other’s lack of gratitude to her efforts. With your help, they
conquered their friendship problem and a major calamity was
averted.
A bi... | 30,097 |
The Beginning of the End - Part 2
Description:
Previously...
A bigger threat looms over Equestria today.
Chief Equestrian strategists in Canterlot identified
potential locations of military significance. The
$i^\text {th}$ location
identified was estimated to have an Equestrian advantage
$g_ ... | 30,098 |
The Big Mac Question
Description:
Sugar Belle: “This apple tree and
pear tree are stronger together. They’ll survive whatever comes
because they don’t have to do it alone. They belong together.
Like your parents. And like us.”
Big McIntosh: “Eeyup.”
Sugar Belle: “Today was a disaster.
But today was a... | 30,099 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.