flamestorm's blog

By flamestorm, 3 years ago, In English

Hello, Codeforces!

I, along with AlperenT, Ari, BucketPotato, ScarletS, and ToxicPie9, would like to invite everyone on Codeforces to the April Fools Day Contest 2023! The 11th April Fools Day Contest will take place on Apr/01/2023 17:35 (Moscow time). This is a joke competition in which solving the problem is often easier than figuring out what the actual task is.

Please note that the round is unrated.

In this round you'll be given $$$n$$$ weird problems and 2 hours to solve them, where $$$7 \leq n \leq 12$$$. At most $$$\sqrt{n}$$$ of the problems will be interactive. 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).

You can submit solutions in any language allowed by Codeforces, 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, 2016, 2017, 2018, 2019, 2020, 2021, 2022.

Good luck, and have fun!

UPD1: Thanks willy108 for testing!

UPD2: The editorial is released!

UPD3: Congrats to the winners!

  1. InternetPerson10
  2. Geothermal
  3. A_G
  4. Maksim1744
  5. LJC00118

And congrats to the first solvers!

UPD4: Sorry for the inconvenience, the contest is now open for practice submissions + virtuals.

  • Vote: I like it
  • +576
  • Vote: I do not like it

| Write comment?
»
3 years ago, hide # |
 
Vote: I like it +282 Vote: I do not like it

As an author, give me contribution

»
3 years ago, hide # |
 
Vote: I like it +50 Vote: I do not like it

Who Tested?

»
3 years ago, hide # |
 
Vote: I like it +13 Vote: I do not like it

Make it rated

»
3 years ago, hide # |
 
Vote: I like it -9 Vote: I do not like it

My first april fool contest. Hope it would be funny

»
3 years ago, hide # |
 
Vote: I like it -9 Vote: I do not like it

Ac round 5

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Hoping it to be unrated like last time :)

  • »
    »
    3 years ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    well it's written there

    • »
      »
      »
      3 years ago, hide # ^ |
       
      Vote: I like it +8 Vote: I do not like it

      I guess people didn't understand my sarcasm, explaining my joke to you :)

      Spoiler
»
3 years ago, hide # |
 
Vote: I like it -6 Vote: I do not like it

I am from Switzerland.

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Is this actually unrated or is that a prank ..?

»
3 years ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

I wish to see the foolest problems ever made in codeforces!

»
3 years ago, hide # |
 
Vote: I like it +6 Vote: I do not like it

I read some of past years problems and understood none of them :/ is it normal?

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Is it rated ?

»
3 years ago, hide # |
 
Vote: I like it +8 Vote: I do not like it

ok, I pull up!!!

»
3 years ago, hide # |
 
Vote: I like it +16 Vote: I do not like it

Okay, so this year I have to print willy108 :)

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Every previous years questions SHOCKED me, especially last year's first question lol

»
3 years ago, hide # |
 
Vote: I like it +19 Vote: I do not like it

Are the problems somehow related to the tasks in Ohio?

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Ahhh .. you should have told it's rated. And after contest, surprise!

»
3 years ago, hide # |
 
Vote: I like it +10 Vote: I do not like it

at the end when it's time to begin the contest you will say we make you fool there is no contest today.

»
3 years ago, hide # |
 
Vote: I like it +5 Vote: I do not like it

Good luck!

»
3 years ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

As a commentator, give me a contribution

»
3 years ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

Please upload the editorial as soon as possible!

Much needed

»
3 years ago, hide # |
Rev. 4  
Vote: I like it +27 Vote: I do not like it

Lol, my best performance on codeforces was in contest for fools

»
3 years ago, hide # |
 
Vote: I like it +11 Vote: I do not like it

me participating for the first time in april fool contest:

»
3 years ago, hide # |
 
Vote: I like it +16 Vote: I do not like it

SecondThread Please tel me you will upload screencast of the contest :D

»
3 years ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

Hints: $$$\newline$$$ A: print("security") $$$\newline$$$ D: print(0) (0/2 = 0 — so we disproved the collatz hypothesis:)) $$$\newline$$$ E: print(0) (any number here) $$$\newline$$$ J: give me AC $$$\newline$$$

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

wtf how to solve F? I tried to delete a numbers to 7,13,19 and my draft was corrupted

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

How F QAQ

  • »
    »
    3 years ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it
    Spoiler
»
3 years ago, hide # |
Rev. 6  
Vote: I like it +9 Vote: I do not like it

Great contest. Solved ABDEFJ.

Python code for solving F
My answer for J
»
3 years ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

What is the solution of B? I got it by trying 40+ times (15, 20, 21 are NO, others YES) but what is the logic?

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Now contest is over. Can you please tell me what was that dammnn mysterious language!!!

»
3 years ago, hide # |
 
Vote: I like it +9 Vote: I do not like it

Zeroforces round

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Contest not for fools...

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

The best round ever (with pinely round)

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

How to solve C? I think it might relate to 3, 1, 4.

»
3 years ago, hide # |
 
Vote: I like it +9 Vote: I do not like it

sample choice in C was genius

Spoiler to the problem
»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Please!, allow the practice...
ASAP,
Thank you

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

G????

»
3 years ago, hide # |
 
Vote: I like it +6 Vote: I do not like it

got trolled so hard by D

»
3 years ago, hide # |
 
Vote: I like it +9 Vote: I do not like it
my code for B
»
3 years ago, hide # |
 
Vote: I like it +91 Vote: I do not like it

Who spent several minutes trying to find long Collatz sequences for D like me? :raising_hand:

»
3 years ago, hide # |
Rev. 2  
Vote: I like it +3 Vote: I do not like it

Solution A-E

A:read the picture:security

B:note that it is "was it rated". you can find that codeforces round 1 is rated and round 15 is unrated. In the first 25 test,only round 15,20,21 are unrated.

C:t<=32 and sum of n<=155,around t*5, so you can guess that it is n is a random number between 0 to 9. As 2*1*4=8,7=7,1*2*3*5=30, you can guess that n is 31415926... and the answer is the product. the sum of the first 32 digits of pi is also actually equal to 155.

D:there is no limit of n>0.

-7 -> -20 -> -10 ->-5 -> -14 -> -7

E:the difference is 10^6 not 10^-6. if you set a=0,the condition will be always satisfied.

»
3 years ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

This was a lot of fun, thank you :)!

  • »
    »
    3 years ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Hii. Could you solve the was it rate problem? I tried too many methods but I could not solve it. Can u explain me how did u solve it?

    • »
      »
      »
      3 years ago, hide # ^ |
       
      Vote: I like it 0 Vote: I do not like it

      It asks whether the n-th round on Codeforces was rated. Specifically, beta rounds 15, 20 and 21 were unrated

    • »
      »
      »
      3 years ago, hide # ^ |
       
      Vote: I like it 0 Vote: I do not like it

      In the first 25 rounds of codeforces's history, round 15, 20 and 21 were unrated.

»
3 years ago, hide # |
 
Vote: I like it +8 Vote: I do not like it

My best performance came in an April fool contest lol. Can't wait for my rating to increase. Important life lesson, I will always remember to say please to the AI overlord who is going to take over.

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

What is the solution process for I?? Solution for I makes no sense to me

  • »
    »
    3 years ago, hide # ^ |
     
    Vote: I like it +3 Vote: I do not like it

    A person is climbing a mountain. We notice that the vertical line of the letter 'b' is upward, indicating that the person has moved up one unit. The vertical line of the letter 'p' is downward, indicating that the person has moved down one unit. Count all letters in the string that have this up-down feature. Increase the count by 1 when encountering an upward letter, and decrease it by 1 when encountering a downward letter. The initial height is 0. Output NO only when the height becomes negative at some point or the person finishes climbing the mountain (processing the entire string) with a non-zero height. Otherwise, output YES. That's my inference.

  • »
    »
    3 years ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    English letters have "ascenders" and "descenders": ascenders are parts of a letter that extend above a baseline, descenders parts that extend below. For example, normal letters are "a", "x" or "z", letters with ascenders are "f", "l" or "k", letters with descenders are "y", "g", "j" etc.

    So apparently the idea is that you keep track of the height and you increase by 1 when you encounter an ascender, decrease by 1 if you encounter a descender. A word is valid if you start and end at 0 without going below 0.

»
3 years ago, hide # |
 
Vote: I like it -11 Vote: I do not like it

please make it rated

»
3 years ago, hide # |
 
Vote: I like it +15 Vote: I do not like it

Thanks for this contest, made my day!

Also binary searching to deduce each test case for B was fun XD, later I noticed there were few "NO"s so guessed the 22nd test case but was fun lol. Most submissions I have ever made in a contest.

Spoiler
»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

How do they got accepted for the second problem(was it rated?) without the wrong answer?

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

This was my 1st april fool contest and Really, after giving this contest , I am feeling like April fool celebrated now :-)

»
3 years ago, hide # |
 
Vote: I like it +47 Vote: I do not like it

Happy to see an April Fools Day Contest with no domain knowledge such as plots or characters in a specific movie. Great contest!

»
3 years ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

Is J judged by a LLM or a bunch of ifs?

»
3 years ago, hide # |
 
Vote: I like it +13 Vote: I do not like it

Was quite frustrated with multiple wrong answers for D, but couldn't help laughing out loud when I saw the solution. XD
Great problems, keep it up! :)

»
3 years ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

amazing! Problom J is so interesting. Did you judge it by a LLM?

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

It's very funny reading the inputs of participants for last question (Unmysterious Language).But finally it seems like we must use the word "Please" for AC

»
3 years ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

Please do the rating update quickly and make me CM >_<

»
3 years ago, hide # |
 
Vote: I like it +2 Vote: I do not like it

the one who got I is a genius

»
3 years ago, hide # |
 
Vote: I like it +10 Vote: I do not like it

Thanks, you successfully proved I am a fool.

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it
»
3 years ago, hide # |
Rev. 2  
Vote: I like it +13 Vote: I do not like it

How does the spj for D work?

Are there any conclusions that $$$\forall 1\le n \le 10^{10^3}$$$, it will finally become $$$1$$$ in less than $$$10^{18}$$$ times?(That is, all positive integers do not work)

»
3 years ago, hide # |
 
Vote: I like it -8 Vote: I do not like it

What is the Solution of

It was rate problem?

»
3 years ago, hide # |
 
Vote: I like it +17 Vote: I do not like it

Problem G: If you download the image and check the hex code, you will get 01722b, which is the problem 1722B - Colourblindness.

»
3 years ago, hide # |
 
Vote: I like it -30 Vote: I do not like it

This contest is disaster, total waste of time.

»
3 years ago, hide # |
Rev. 2  
Vote: I like it +66 Vote: I do not like it

Thanks ChatGPT for answering questions!

»
3 years ago, hide # |
 
Vote: I like it -8 Vote: I do not like it

Will upsolving be available?

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

When can I send solutions if I can't do it virtual

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

AMAZING. Although I didn't solve any of it, the ideas really amazed me. Furthermore, the verdict "wrong answer I can give you AC, but did you forget something important?" is interesting.

»
3 years ago, hide # |
 
Vote: I like it +10 Vote: I do not like it

Why I can't submit my code?