All problems were prepared by me and magnus.hegdahl. Thanks to BucketPotato and Monogon for valuable feedback and testing. Special thanks to MikeMirzayanov for problem H. I hope you enjoyed the contest.
The problem statement is the title of the problem.
Re-read the original announcement blog.
If you carefully read the announcement blog, you will notice that I especially thanked BucketPotato for testing. Just print "BucketPotato".
Did you notice the peculiar constraints on the variable $$$r$$$?
"Mike" is of course MikeMirzayanov. "Mike's sequence" has to do with Codeforces ratings.
3000 is the cutoff for the highest rating: Legendary Grandmaster.
Mike's sequence are the Codeforces rating thresholds: [1200,1400,1600,1900,2100,2300,2400,2600,3000]. Your task is simply to print the threshold immediately above the provided rating $$$r$$$.
Aenar Targaryen was a dragonlord of Old Valyria.
The main clue is the title: "Pōja Verdon".
Aenar Targaryen was a dragonlord of Valyria (an empire from a \textit{A Song of Ice and Fire}) who moved his family to Westeros right before Valyria was destroyed.
pōja
means their
and verdon
means sum
(or amount
based on context) in High Valyrian (you can easily translate this on Duolingo).
In a nutshell: Print the sum of the array.
Did you notice that the problem had a special "constraints" section? That's highly unusual for a Codeforces problem.
The length of S is 3. Are there any famous three letter programming contests?
The capital variable letters and the "constraints" section are designed to mimic how atcoder.jp formats their problem statements.
The problem is asking whether the Atcoder contest (ABC,ARC,AGC) is rated for a rating $$$X$$$. (Note that the judge ignores Atcoder heuristic contests for simplicity).
- ABC's are rated for $$$[0,1999]$$$
- ARC's are rated for $$$[0,2799]$$$
- AGC's are rated for $$$[1200,\infty]$$$
Do you recognize the story of the Minotaur?
The problem is a word search, but not for the word "minotaur".
Perhaps you recognize the story of the minotaur? Less known is the hero who saved the kids from the minotaur: his name was Theseus [thee-see-us].
The problem is just a word search (horizontal, vertical, diagonal) for theseus
. You should only go in the forward direction when you search for a word.
The grid contains other clues embedded in it. Perhaps you can find esoteric
, java
, and script
(hints for problem G). You might be able to find atcoder
(hint for problem D). Also hero
(hinting at Theseus for this problem).
There are also some red herring words out there.
1663F - In Every Generation...
Where is the quote from?
"buffy", "the", "vampire", "slayer"
"buffy" (length 5), "the" (length 3), "vampire" (length 7), "slayer" (length 6). Now go back to the sample and see what you can do.
The quote is from the well known TV series Buffy the Vampire Slayer.
Perhaps you notice the lengths of the words buffy
, the
, vampire
, slayer
are unique integers in the set {3,5,6,7}.
Given the string $$$s$$$, simply do a forward shift with the target word of the same length. For example, ccccc
is paired with buffy
which goes to dwhha
.
However, if the length of $$$s$$$ is $$$4$$$, the answer is "none".
Input is a normal string of letters, but output consists of non-letter characters?
Think of an esoteric programming language.
JSF (an esoteric programming language equivalent to Javascript that only uses 6 characters).
The April Fool's Contests love of esoteric programming languages, combined with the reference to "six characters", will eventually lead you to JSFuck.
The six characters is a pun: the input is a string of length 6 like "abcdef", but the output is a string \textit{consisting} of only 6 characters: [ ] ( ) ! +
.
Brief research will demonstrate a mapping from each english letter to a JSFuck string. Two letters can be concatenated with "+".Note that the optimal mapping will make your solution file approximately 12KB in size, well within the 64KB requirement of Codeforces.
However, the mapping from each letter to javascript is not unique! However, the legend mentions that Aenar needs to go to the string's "home". JSFuck's home website is here, which is where the jury's mapping is created from.