AlperenT's blog

By AlperenT, 14 months ago, In English

Hello, Codefoolers!

We, AlperenT, flamestorm, prvocislo, temporary1, ToxicPie9, and -1e11, would like to invite everyone on Codeforces to April Fools Day Contest 2025! The 13th April Fools Day Contest will take place on 01.04.2025 17:35 (Московское время). This is a joke competition in which solving the problem is often easier than figuring out what the actual task is.

In this round, you will be given $$$n$$$ problems where $$$\sum\limits_{x=1}^{\infty} \frac{1}{x^n}$$$ converges and 2 hours to solve them. The contest will use extended 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.

Please note that the round is unrated and that the penalty for a wrong submission is 10 minutes.

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, 2023, 2024

Thanks to our precious testers (they exist, trust me):

Please do not bother sending clarification requests in the contest as we obviously do not enjoy sending funny responses like we did in the last two years. It is definitely not the most fun part of April Fools.

Lastly, we have a video editorial this year (Russian captions available)!

Good luck, and have fun!

Edit 1: Editorial is out!

Edit 2:

Congratulations to the winners:

  1. ksun48
  2. Madball
  3. iakovlev.zakhar
  4. tiger2005
  5. errorgorn

And the first solves on each problem:

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

| Write comment?
»
14 months ago, hide # |
 
Vote: I like it +28 Vote: I do not like it

yearly "flamestorm orz"

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

"Please do not bother sending clarification requests in the contest as we obviously do not enjoy sending funny responses like we did in the last two years. It is definitely not the most fun part of April Fools."

»
14 months ago, hide # |
Rev. 2  
Vote: I like it +193 Vote: I do not like it

My lab supervisor must be mad if he knows I’m spending so much time preparing the problems. Give me contribution.

»
14 months ago, hide # |
 
Vote: I like it +75 Vote: I do not like it

I definitely didn't join the authors just to answer the boring clarifications...

»
14 months ago, hide # |
 
Vote: I like it +51 Vote: I do not like it

How do I get better at April fools?

»
14 months ago, hide # |
 
Vote: I like it +31 Vote: I do not like it

AlperenT orz :)

»
14 months ago, hide # |
 
Vote: I like it +26 Vote: I do not like it
»
14 months ago, hide # |
 
Vote: I like it +65 Vote: I do not like it

-1 problem? Everybody knows that this series converges to $$$-\frac{1}{12}$$$

  • »
    »
    14 months ago, hide # ^ |
     
    Vote: I like it +28 Vote: I do not like it

    It could be $$$3.141+2.718i$$$ problems as well :D

  • »
    »
    14 months ago, hide # ^ |
     
    Vote: I like it +17 Vote: I do not like it

    The series doesn't converge. This is an abuse of notation brought on by the analytic continuation of the Riemann Zeta Function, which normally is well defined only for values pf n respecting Re(n)>1. As such, the only valid assumption that can be taken is that there is strictly more than one real problem in the problem set.

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

      Yeah, more than 1 real problem so like $$$\sqrt{2}$$$ problems for example

»
14 months ago, hide # |
 
Vote: I like it -29 Vote: I do not like it

Shhh... Do not ask how, but I have link to the solutions. You can find them here.

  • »
    »
    14 months ago, hide # ^ |
     
    Vote: I like it +11 Vote: I do not like it

    Warning: Be careful for being scammed.

    For those who always ignore warnings, Error: Be careful for being scammed.

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

    at least don't use the most popular link, every body knows it ends with gxcq.

»
14 months ago, hide # |
 
Vote: I like it +28 Vote: I do not like it

is it rated?

»
14 months ago, hide # |
Rev. 2  
Vote: I like it +9 Vote: I do not like it

As one of the testers, the problems are very interesting!!!

...
»
14 months ago, hide # |
 
Vote: I like it +33 Vote: I do not like it

A video editorial premieres as the contest starts... Bro's up to something

»
14 months ago, hide # |
 
Vote: I like it +13 Vote: I do not like it

Do you think the style of the most problems to be:

Spoiler
»
14 months ago, hide # |
 
Vote: I like it +24 Vote: I do not like it

Can i believe the "unrated" thing?

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

    if it is a genuine question, yes it is unrated,

    please make a lot of wrong submissions to try various ideas to have more fun

»
14 months ago, hide # |
 
Vote: I like it +11 Vote: I do not like it

love first April contest ,cause this is only one contest where i can solve only one problem

»
14 months ago, hide # |
 
Vote: I like it +22 Vote: I do not like it

If every round was like this, there would be no more AI cheaters!

»
14 months ago, hide # |
 
Vote: I like it +12 Vote: I do not like it

Can we make it rated for a day? :pleading_face:

»
14 months ago, hide # |
 
Vote: I like it +7 Vote: I do not like it

my favourite contest of the year!

»
14 months ago, hide # |
 
Vote: I like it +15 Vote: I do not like it

So there will be $$$n=-1$$$ problems because $$$1+2+3+4+\cdots = -\frac{1}{12}$$$?

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it
For those who thinks that there are -1 problems
  • »
    »
    14 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    No harmonic sequence but we were talking about problem b in the forces round and...

    this happened
»
14 months ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

Expected

»
14 months ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

Are these problems AI proof?

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Looking forward to it very much!

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

That's a great work

»
14 months ago, hide # |
 
Vote: I like it +87 Vote: I do not like it

»
14 months ago, hide # |
 
Vote: I like it +10 Vote: I do not like it

fools are fooling the fools as the fools used to fool the fools cz fools don't know that fools fool fools everytime.

»
14 months ago, hide # |
 
Vote: I like it +2 Vote: I do not like it

I just remembered “Are You a Procrastinator?” in the past year

»
14 months ago, hide # |
 
Vote: I like it +5 Vote: I do not like it

This contest is the best gift for my birth day

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Rated ?

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

It was fun being a tester. UwU :)

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Really excited for this

»
14 months ago, hide # |
Rev. 2  
Vote: I like it -35 Vote: I do not like it
Spoiler
But..
»
14 months ago, hide # |
Rev. 2  
Vote: I like it +8 Vote: I do not like it

is it rated ?????????????????????

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

April Fools contests are really fun, especially the out of the box thinking required to solve problems such as 1812G - Colour Vision and 1952I - Dark Matter. Its a nice break from the usual contests. Is it possible for there to be more contests like it, perhaps every 3-4 months?

»
14 months ago, hide # |
Rev. 2  
Vote: I like it +8 Vote: I do not like it

Finally a rated contest

»
14 months ago, hide # |
 
Vote: I like it +8 Vote: I do not like it

Is that means n>1 ? Hope my Math is right :D

Luogu also have Fools Day Contest that is LGR-(-25)! Come and have Fun!!!

»
14 months ago, hide # |
 
Vote: I like it +22 Vote: I do not like it

Now that the contest is over, we can discuss the problems. I didn't solve A, any hints?

  • »
    »
    14 months ago, hide # ^ |
     
    Vote: I like it +42 Vote: I do not like it

    You must use divide and conquer in combination with segment tree beats and heavy light decomposition. You may think this is too slow, but you can use bitset to optimize it.

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

      can it be solved for higher constraints like $$$n \lt 2×10^5$$$?

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

      it is slow even with bitset.. now i use python.. that will make u understand why its slow xd... so upon all that, i added DSU data structure... helped me optimize it... while adding sliding window inside the segment tree... from O(N^5) to O((N^2)*gcd(n,m)*log(max(n,m)))

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

        Another way is to use a bitset of bitsets, if that doesn't work, a bitset of bitsets of bitsets should do the trick!

  • »
    »
    14 months ago, hide # ^ |
     
    Vote: I like it +27 Vote: I do not like it

    I solved it using online algorithm for 4D half-hyperspace intersection. It wasn't obvious, but you can transform input data in such a way that after calculating intersection, the result is always a strictly convex 4D hypergon. All what remained to do — check if the hypergon you got is pentachorizable (possible to divide hypergon into non-intersecting pentachores — 4D analogue of tetrahedrons).

    Took me 10 mins to implement — I just copy-pasted 4D half-hyperspace intersection online algorithm from my library.

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

can someone tell me how the difficultly for these problems are

like should I solve them in order, or I should try to read all problems .. .

are they only tricky in terms of "out of box" thinking or they are hard in implementation / Algorithm knowledge as well

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

I guess there will be a problem related to $$$(20+25)^2=2025$$$.

»
14 months ago, hide # |
 
Vote: I like it +8 Vote: I do not like it

As a tester, I can confirm that there are questions.

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Eagerly hoping chatgpt o3-mini / deepseek R1 will not able to solve these problems.

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Wow, what a cool April Fool's Day event! Many thanks to the organizers for putting on such a fun and unforgettable event. I can't wait to see what surprises they have in store for us in the future!

»
14 months ago, hide # |
 
Vote: I like it -19 Vote: I do not like it

is 2nd just generating random number unless ur luck works and random answer doesnt match any previous answers ?

»
14 months ago, hide # |
 
Vote: I like it -17 Vote: I do not like it

whoever dms me answer will become billionaire

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Queue is fked

»
14 months ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

why is queue so slow, it is just ruining the fun of trying random things :P

»
14 months ago, hide # |
 
Vote: I like it +5 Vote: I do not like it

Fix the queue I can't do shit

»
14 months ago, hide # |
 
Vote: I like it +2 Vote: I do not like it

Hawk Tuah Button ---------->

»
14 months ago, hide # |
 
Vote: I like it -11 Vote: I do not like it

any website that gives accurate result for reverse engineering photo location?

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

how to J? I thought we were supposed to print the first and second half of authors of the contest but failed :(

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

The editorial is the perfect example of walking through the solution.

»
14 months ago, hide # |
 
Vote: I like it +149 Vote: I do not like it

i did it

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

Box the outside think!

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

what is the ans of problem c? :(

  • »
    »
    14 months ago, hide # ^ |
    Rev. 2  
    Vote: I like it 0 Vote: I do not like it

    I observed a running code to see how far the test cases go, 143 is the answer. Insane problem haha

    • »
      »
      »
      14 months ago, hide # ^ |
       
      Vote: I like it +42 Vote: I do not like it

      A less painful cheat through it: binary search the status filter with "test >= x" until no accepted is found. Works only after 1st AC.

      • »
        »
        »
        »
        14 months ago, hide # ^ |
         
        Vote: I like it +19 Vote: I do not like it

        interesting thing is no one ever guessed 143 until 80th minute. there were like around 10000 submissions before first AC.

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

          Discrete/Independent/Uncoordinated attempts would be more erratic than you think.

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

          I think we should be collectively ashamed. There were over 10,000 contestants. If each of us had guessed a random number between 1 and 1000 then one of us would have gotten the answer, and then the rest of us could have copied the solution from the test filter page.

          But we were too uncoordinated!

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

      who go the first AC tho ?

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

      Even the problem gives different text for every input. Hilarious.

  • »
    »
    14 months ago, hide # ^ |
     
    Vote: I like it +16 Vote: I do not like it

    Go to status and binary search the filter "Test" in the right panel "Status Filter".

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

everyone who couldn't solve C is the reason why they are single.

»
14 months ago, hide # |
 
Vote: I like it +51 Vote: I do not like it

I like the detail that just like how we have 10 fingers and use base 10, the Balikons have 9 fingers (3 hands with 3 fingers each, as can be seen in the photo) and use base 9.

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

    Also they use {l, sh, t} prefix based on which hand, and then {a, e, on} suffix for the fingers of each hand.

    And the digits of their script are based on a 3x3 grid:

    +---+---------
    | 0 |  1   2  
    +---+---------
    | 3 |  4   5  
    |   |         
    | 6 |  7   8  
    

    etc.

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Best Video Editorial Ever :)

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

i might be like a tiny bit stupid

»
14 months ago, hide # |
Rev. 2  
Vote: I like it +8 Vote: I do not like it

For F you change the language to Russian to see the other 2/3. Wow

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I was thinking B was just like a gamble game (luck based), you keep playing until you win , lol.

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

good veryhappy

»
14 months ago, hide # |
 
Vote: I like it +38 Vote: I do not like it

The best April Fools Day Contest I've ever participated.

  • »
    »
    14 months ago, hide # ^ |
     
    Vote: I like it +21 Vote: I do not like it

    Fun fact for Problem F:

    I wrote a Competitive Companion parser for personal use, and for some reason, I filtered all non-ASCII characters for the file name.

    After struggling for the rest part of the statement, I eventually noticed the unusual file name of problem F: F__f__rblm.cpp. The missing letters (a, o, e, and P) were actually Cyrillic characters ("а", "о", "е", and "Р") that had been filtered by my parser.

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Having fun while being fooled, the trick on D and F is insane.

First experience on April's fool contest comes out great!

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Happy April Fools day!

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Where is problem J ?How did 2 participants solved that problem?

»
14 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

April fools contests feel like magic