The contest is over; I hope you've enjoyed it :-) Editorial is here. See you next year!
The fourth April Fools Day Contest will take place on Friday April 1st. This is a joke competition in which solving the problem is often easier than figuring out what the actual task is. Thanks to kit1980 and Codeforces team for their help in preparing problems.
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 — well, unless the problem says otherwise ;-) To get an idea of what the contest will look like, you can check out the contests of the past years: 2012, 2013, 2014.
Be warned, to enjoy competing in this round you'll need a sense of humor compatible with mine! Good luck, and have fun!
April Fool's joke:
Us: Woo, unrated contest.
CodeForces: April Fool's, it's rated.
Us: rating drops
CodeForces: Just kidding... all newbies become legendary grandmaster...
Yeah, lets invert the ratings for one day. Like, for exampple, your rating tomorrow=Tourist's rating-your actual rating. Fun!
So,It's rated or not?
Awesome!
Yes the joker man!!!
You did the best!
You can submit solutions in any language allowed by Codeforces — well, unless the problem says otherwise...
oops, fells like I should have learned another language rather than just c++, but wait a second, it's April Fools day, so probably a joke ^_^
Check this problem B. Mysterious Language from April Fools Day Contest 2014 .
Can we participate as a team ? It would be more fun I think.
Is it ok to privately collabrate with friends during contest?
You mean privately cheat?
Well it's April Fools......
you want to distribute the fun between you and your friends while you can have it all for yourself?
The problem statements for the previous April Fool's contests are insane! It will be fun! Eagerly waiting for it! But please don't April Fool us.Hope it's really unrated!
That would be the evilest thing I could imagine
I am not participating. What if the part that says that the contest is unrated is an April fools prank and it is actually rated?
What if there's actually no contest and the announcement was just a prank?
What if the complete announcement is true and the part that is fooling us is the part about April Fool, while actually they are not making any fool out of us?
That would be so last year. I'm not really into that kind of jokes, I prefer something more elaborate ;-)
I value your honor among thieves attitude.
Seems interesting! I don't mind if "unrated" is a joke, it makes it a lot more exciting in my personal opinion.
Well, have fun everyone. ;-)
Is it rated?
The author says unrated but the comments say otherwise
It's not an easy question :D
You don't get it. He's doing an experiment.
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.
why not))
Think too much but so funny!
There may be an April Fool Problem. The Problem is Present but no Problem Statement , Input & Output . Like This :
From blog/entry/4255:
It's my personal contest, 10x 2 Nickolas :)
waited for two years...
hope it's rated ~ so I can become a specialist
This is what had happened in 2014th April Fool Contest. Really making us Fool :-p
I read some of its problems and understood none of them :/ is it normal?
It's expected.
Sounds interesting..
That is exactly at 0:00 on April 2 in Beijing ,which is mocking!
Same here.
Hey, guys! I didn't have a Codeforces account until last year's October and now that I see that there were April Fools Day Contests, can anyone tell me why hasn't there been a contest last year?
Something didn't end up very funny last year. They've been fooled.
Nickolas was busy
It's 13-be-dar in Iran, we are supposed to go outdoor for a whole day and spend the day with family and nature. Well, except programmers, it seems!
Actually it seems Iranians welcomed this contest a lot!
what is the solution of A problem
Editorial will be published in 1 hour :-)
but i need now
Search oeis.org for Da Vinci and you'll find a fake powers of 2 sequence. Copy that and AC.
The interesting thing is when I searched "da vinci" on OEIS, only fibonacci thing came up. Now it shows the other one. Maybe I didn't wait enough for all search results to come :/
How did you find this webpage?
And I searched it on Google :'(
why?
lol
http://oeis.org/A221180
searched by keyword "Da Vinci"...
It was awesome!!!
(the best joke I can say :D )
。
Bro, Can't you wait until the contest ends?
....
Wow amazing tasks. Waiting for the ultimate prank "the contest is rated" to return to yellow. :P
So what's the deal with problem F? Is it really OEIS? Is there a way to do it without URL requests?
How to compress ~280000 integers to 64KB? Codeforces doesn't accept my solution :(
How did you download them in the first place?
http://oeis.org/stripped.gz
1 + sum of all digits, and '0' == '9'
It's blackjack sum. OEIS is a prank.
They are just poker card numbers! A = 1 10 = 10
https://oeis.org/A221033
this is the only thing about the first sample that I found and don't understand it :(
It's blackjack
Problem G. I see what you did there :)
The problem is a joke haha
Hey, what's wrong with submission for G using Python?
You should submit it in 2 languages and add a "kitten" at last
Hmm... Thought about the second language, but what is a #kattie? And how do you know that?
The judger will notice you add a kitten when you submit with the second language
Wow, that awesome, thank you
When you submit it with 2nd language, you will get something like:
So many characters... Can't your code be shorter? Please remove 8 more characters.'
Then when your code is short enough, you will get:
Needs a finishing touch... Can you add a kitten?
And you need to add a 'kitten' in your program, for me it means you need to make it shorter again..
Aha, now I got the title :)
I copied someone else's code, and got So many characters... Can't your code be shorter? Please remove 117 more characters dafuq!
I really need to know how to solve problem A. It's driving me crazy
I got the solution from here
What is that? It's not 2^n?
really don't understand why problem A like this...
How do I solve D? I kind of saw a pattern of a cipher but couldnt decode it
number of '1' in octal form of input (sry for bad English)
><v^
, i.e. "left right up down")Some years ago here was a contest with Befunge as the only (?) acceptable language. That was awesome.
Can we still submit the solution after the contest ?
Loved F. Epic troll.
For G, why WA on test 1 when all verdicts are OK?
this question is driving me crazy. I saw my code to pass all test and get WA on 1 twice. Still hoping for some kind of magic
Hint: click on the "Wrong answer on test 1"
We had to use different languages? Can you tell me about any of them?
Yes, the problem should be solved using two languages. I thought about changing the interpreter from Python to PyPy, however, this does not help. You could read this comments branch: http://codeforces.net/blog/entry/44106?#comment-287483
what does "Your code is overly controlled. " mean?
Don't know. Could you, please, post the entire message? My message was about unsupported language.
I got it... it is for problem E and mean I used the keywords that I didn't have to use
Today I learned how to get a pointer from a label in GCC to implement if without the usual keywords. I want to unsee that, but I can't...
I thought about this idea for a moment but luckily I found a better way.
std::for_each
andstd::max
/std::min
to the rescue!Guess,Guess,write,write,and I always got an WA
We can use Ruby to solve E easily. 'if' can be replaced by 'unless' while '1.upto(n)' or '(1..n).each' for 'for'