The contest is over; I hope you've enjoyed it :-) Editorial is here.
The 6th April Fools Day Contest will take place on Sunday April 1st. This is a joke competition in which solving the problem is often easier than figuring out what the actual task is.
This year I tried to make the problems less puzzling and more versatile. For example, almost all problems have a statement! And you won't need OEIS this time :-)
In this round you'll be given 7 weird problems and 2 hours to solve them. The contest will use ACM ICPC rules (no hacks, the standings are decided by the number of solved problems and penalty time earned on them), and it will be unrated. You can submit solutions in any language allowed by Codeforces. To get an idea of what the contest will look like, you can check out the contests of the past years: 2012, 2013, 2014, 2016, 2017.
As usual, to enjoy competing in this round you'll need a sense of humor compatible with mine! Good luck, and have fun!
Last time I had one problem solved; with OEIS problem gone, I wonder about my results now :v
I think one of the things this year will be that the contest will start an hour before or after (It will be a nice one).
plasticBottle?
No.
Lol now you are going to get upvotes. Not because it was creative, because you are red coder.
And you're wrong. How unsurprising.
(I wrote that fully expecting to get downvoted, just to make the forced joke.)
They are downvoting you because of me. People do opposite to what I say. Guys can you upvote this comment? :)
A red getting downvotes? April fools came early this year.
Why don't you delete his comment Mike? You already deleted my comment. Is it because he is red?
I'm sure you deleted your own comment.
You can't delete a comment 5 minutes after it is written mr.smart.
As you may probably know, there will be another similar April Fools Contest run by Indonesian coders: TOKI Open Contest Special — April Fools 2018 which will end 1 hour before Codeforces' contest start!
You may use this as an exercise tho, ;)
Additionally, there is a CodeFights Fools' Day Marathon which starts 25 minutes after the Codeforces special round and lasts for 90 minutes. So, one can solve April Fools' problems all day! Or night, depending on where on the globe you are at the moment.
I am Exited to be the fool by seeing the statement :D :D :D
"And you won't need OEIS this time."
April fool maybe! xD
"solving the problem is often easier than figuring out what the actual task is"
Codeforces Round #471 Problem B anyone?
I don't understand how did people not understand that problem... I think most people just didn't read the sentence "Check whether it can be split into two non-empty subsequences such that the strings formed by these subsequences are adorable.", or the sentence "Let's call a string adorable if its letters can be realigned in such a way that they form two consequent groups of equal symbols (note that different groups must contain different symbols)."
Well... What if there is not gonna be a contest because April fools :P
minimario
No, April 1st is Saturday. :)
UPD: at least I didn't say "Monday" ...
I suddenly hate this time......I live in China,and that's at almost midnight.Also I will have to be in school!
The contest doesn't exist! Happy April fools' day!
almost all problems have a statement??????That's Terribleeeee!
Is this UnRated isn't it?
By the way,in Japan,the contest will be held in April 2nd(00:35) lol
UPD:I didn't notice that a RedCoder ask the same question because it gets so many downvotes lol
Thank you Nickolas, for your contests, there are really interesting and unpredictable :D
You should increase contest duration.
Last year this contest made me mad... WTH, only input and output?... are you kidding me =)
Something will be strange in China...
the contest starts at 23:35 UTC+8, it means after half an hour, it's April 2nd.
Does it mean we should stop joking? Will we be able to see the original problem statement with out jokes?
Seems worse in Japan...
(Joking)
Can't wait for this contest, super hyped for the funny questions!
at the first sight i took this line for granted "This is a joke competition in which solving the problem is often easier than figuring out what the actual task is."but after going through previous contests ,i could really feel it..XD
the problem about April Fools Contest that we can't believe anything you say
you say we won't need OEIS this time this can mean that all the problems can be solved using OEIS
so it's complicated
Problems only have input and output?!!! i think that will be hard.
The joke this year is that the servers will go down during the contest.
Wait, isn't every contest an April Fools Day contest? Lol
sometimes unrated contests are also necessary ,we can think freely :D
Unrated or rated ? Beware you could become a Fool XD
right from which you have evolved and left which helps you evolving ...
I think, Problem D can be solved using DP+LCA+Ternary-Search :)
;c
You know you somehow leaked out the solution lol
Please don't give solution hints while the contest is still running. If this happens we'll have to make it unrated. Oh wait...
According to the rating predictor I am gaining rating. Please don't make it unrated :P
I think, according to solvemproblr's predictor he wasn't gaining rating, so he decided to make contest unrated. ;)
me in the contest XD
How to solve D?
I printed the word "black" and it passed.
I passed with "2nd 12" (and didn't with "black" or "even") I guess, right answer changed time to time.
I have printed "2" two times one time it gave me WA2 another time WA1. So the test cases were random.
I bet on even.
It was random.
I actually tested from 0, 00 to 36 looking for the answer.
But it was to answer any of these "odd", "even". XD
Printed
1st 12
.Try betting "Even" until random accepts it :D
I printed 19 to 36
1 to 18 failed
From the above comments I think that the system spins the roulette when you submit an answer.
Let me hack D plz xD
I`m Unlucky :( are you lucky :P help me to become lucky :D :D
Can anyone help me in Problem D, I don't know how to do, but I found test 1 change from 3,10,13,36.
Just bet anything you like. If you win the bet, you get accepted. So just keep submitting something like
print('Odd')
until you win.F — 3 sample:
'-' = 45
,'1' = 49
,'2' = 50
ect. (ASCI)112 = ( 49 * 10 + 49 ) * 10 + 50 = 5440
-37 = ( 45 * 10 + 51 ) * 10 + 55 = 5065
5440 - 5065 = 375
But how to decide the rest I did not understand...
The author of the reference solution, while decoding ascii strings to numbers, accidentally added the plus/minus characters to the next number. Note that to determine the value of a digit, you subtract '0' (=48) from it.
The rest follow similarly.
112 = (('1' - '0') * 10 + '1' - '0') * 10 + '2' - '0' = 112
-37 = (('-' - '0') * 10 + '3' - '0') * 10 + '7' - '0' = -263
112 - -263 = 375
Well, okay...)
How to solve Problem D ?
You just have to print "black" or "even" and be lucky
I printed "Odd" and get AC
How to solve E ?
Count hard and soft. Chessboard alternates color black, white. Find smallest size square chessboard such that we may place all hard in one color, and soft in the other.
You are supposed to print out the size of the smallest square chess board that could fit the cheeses if you put hard cheeses on one color of squares and soft cheeses on the other color.
-___-
I had this idea but decided to count the number of 'm' in input instead
How to solve B?
Once you're certain what type of cat you're dealing with, output "normal" or "grumpy" to standard out.
You have to print the answer as soon as possible
I always did 6 checks (from 0 to 5)
You can sometimes do it in one, eg if you see 'no way' then it must be a grumpy cat
check on if "no way", "go die in a hole", "are you serious?", "worse", "terrible".
the number of checks is not more than 6
Just follow the problem description. It's clear enough and you don't need to guess anything.
:/ ummm I think not, considering that the point of the contest is to give problem statements that you have to guess at
How to solve H?
It's quite easy. To get an AC, you don't need to print anything!
Lol??
You are not alone. I've submitted it for at least 40 times, and at last I failed.
SAME HERE ... :( ... # WASTE OF TIME
https://en.wikipedia.org/wiki/Roulette
Bro, I did this searching stuff but I thought that we have to print an Integer.
but actually i print "red" and try several times
Why there was no 'Runtime Error' verdict in problem B? I used asserts but it resulted in WA. I spent ~40 minutes to figure it out.
And how exactly did the input in this problem look? I used asserts to check that the given string is one of the strings from the statement, but it didn't pass so I had to remove them to accept the problem.
In B, you must output the type of cat as soon as you figure out what type of cat it is.
I know, but it doesn't answer the question why the code
gets WA and not RE.
Hmm, that's interesting... does codeforces ignore asserts, maybe?
Hey man, it's not my first contest on Codeforces :) They work in other problems. Maybe it is specific behaviour for interactive problems, though I haven't ever seen such thing before.
Maybe this is also a part of the April Fool... :P
In B, I was getting WA checking only given words. Then added "normal" and "grumpy" in the list. Guess what? LOL :p
For problem B, I just tried random and it works magic http://mirror.codeforces.com/contest/952/submission/36819128.
You can't fool me it's not random.
Oh... Although guessing statements is indeed interesting, I prefer problems with complete statements such as B,C and G. Cost a lot of time guessing statements of E and F but didn't solve any one. ╮(╯-╰)╭
Is it coincidence that if you use google's I'm feeling lucky on "I'm feeling lucky" you'll see a roulette??
https://www.lifewire.com/im-feeling-lucky-button-1616813
How to solve F?
The editorials are up at http://mirror.codeforces.com/blog/entry/58681
I shed tears after I finally knew the truth of D
When you got a bug in E and thought that you got the statement wrong...
Problem D was like a hell, I tried 1~36, and "even"/"odd", and many type of "chip in a square" patterns :)
---
|O|
or
===
|0|
or
100,9,25 square of number or
"sqrt(100)" <-- this is still a chip in square * * * Finally, the answer was "Red"...
Hi Codeforces community... I was wondering why this contest is not listed in my Contest history ?
Regards!
since it is not rated.
Awesome!