TripleM5da's blog

By TripleM5da, history, 5 months ago, In English

Hello Codeforces!

Noon is thrilled to invite you to participate in the first-ever Noon Cake Programming Contest (NCPC)!

Noon is building the future of e-commerce for the Middle East, and we are powered by a world-class engineering team. We're passionate about problem-solving and competitive programming, and we want to celebrate that with the community.

Our problem-setting team includes several ICPC World Finalists and IOI Medalists who have crafted an exciting set of challenges for you. We can't wait for you to try them!

The contest will be held in two phases:

Phase 1: Qualification Round

This round is open to everyone, all around the world! It's your chance to test your skills against a high-quality problem set and have fun.
Date: 2026-01-31
Time: 12:35 EGY (UTC+2)
Duration: 4 hours
Who: Everyone!
Registration: form

Phase 2: Onsite Finals

Based on the results of the Qualification Round, the top 100-200 participants from Egypt will be invited to compete in our exclusive Onsite Finals.
Date: 2026-02-07
Location: TBD
Who: Top 100-200 Egyptian participants from the Qualification Round.

Prizes & Opportunities (Onsite Finals) This is where it gets really exciting. Finalists who compete onsite will be eligible for:
Monetary Prizes: Significant cash prizes for the top-ranking winners and NCPC prizes.
Awesome Swag: All onsite finalists will receive Noon swag.
Career Opportunities at Noon: This is more than just a contest. Top performers in the final round will have a unique, fast-tracked opportunity to interview for full-time positions and internships with Noon's elite engineering team. Come build with us!

We've poured a lot of effort into making this a memorable contest and hope you enjoy the problems. Good luck, and have fun! — The Noon Team

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

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

Auto comment: topic has been updated by TripleM5da (previous revision, new revision, compare).

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

Highly recommended

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

update the Date to be 2026 instead of 2025

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

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

Auto comment: topic has been updated by TripleM5da (previous revision, new revision, compare).

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

Auto comment: topic has been updated by TripleM5da (previous revision, new revision, compare).

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

Can you release a chart for Tshirt sizes

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

Is it for students only or anyone can participate?

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

Is there any entry fees?

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

Excited!!

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

Can School students participate as well?

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

Now, there is a reason for training

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

Is there a deadline for the registration form?

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

What about Syrian participants :(

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

مش عايزين حد يعمل شاي وقهوة؟

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

معندكوش شغل للتينز

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

Very Very Excited!!

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

So only Egyptians will be filtered for the finals?

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

reminder!

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

Based on the results of the Qualification Round, the top 100-200 participants from Egypt will be invited to compete in our exclusive Onsite Finals.

Does it mean that only Egyptians are eligible for Onsite Finals?

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

Why is the form not accepting applications anymore? Thought the deadline for applying was 31/1, which is the date of "the actual contest."

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

emirates supports Zionism.....

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

How many problems should we expect ?

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

Hey

I am receiving "Access Denied" when entering the url of the contest. What should I do?

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

I'm super sorry for what I'm saying, but while time I thought that I filled the registration form and I have just recognized that I didn't. Please, can you extend the form exactly one more minute for me? The opportunity is super interesting to me and I hope not to miss it.

Thank you

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

    I think I did the same brother lets hope that the server still down so we have time to handle this (without anyone being harmed due to this postponing ofcourse)

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

Hello, what are the rules regarding templates/googling? I assume (and hope) that AI is not allowed.

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

why top 100-200 egyptian participants why not all over world?

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

We can't see the problems or submit, All we got is :

upstream connect error or disconnect/reset before headers. retried and the latest reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused

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

Website down?

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

The platform is not working with me

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

the website isn't working

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

The website is down.

Error: upstream connect error or disconnect/reset before headers. retried and the latest reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused

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

upstream connect error or disconnect/reset before headers. retried and the latest reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused , is site down or is it only me who's facing this?

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

Hi, the site is down.

upstream connect error or disconnect/reset before headers. retried and the latest reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused

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

Why not just use Codeforces?

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

is it canceled ?

is there any updates ?

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

IT STARTED TO WORK

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

will it be postponed ?

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

Website is down again

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

the website isn't websitinggg

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

I can't submit anything until now!!!!!!!

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

Thanks for not sending an email for me

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

are you guys able to submit?like its showing pending from last 10 mins

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

it was a wonderful contest!

thank you for making this cool contest, I had fun solving those problems ^_^

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

    My solutions for problems A-H

    Problem A - Noon Mail Format
    Problem B - Digit Driven Power
    Problem C - N
    Problem D - This is how we noon it
    Problem E - Noon`s Architecture Audit
    Problem F - Noon Fence Painting
    Problem G - Brackets Matching
    Problem H - Stability
    About problems I & J
    • »
      »
      »
      3 months ago, hide # ^ |
       
      Vote: I like it +3 Vote: I do not like it

      For problem D, try the string “n”. Your solution gives -1.

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

        I think you meant the string s = "o", since count(n) now would be -1 and that would be min.

        you can solve this by just adding max(0,min(count(n)-1, count(o)/2))

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

      Salam! can you send problems?

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

      Your solution to problem E is incorrect. Consider the following graph:

      You will output $$$\texttt{YES}$$$, but the answer is $$$\texttt{NO}$$$.

      I appreciate the work done on the contest, but there are clearly some problems.. I hope they work on them the next time. Better testing was needed.

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

        What is a better solution than the obvious n^2 one? My N^2 dummy solution was to run bfs for the N nodes, and it passed.

        What could be a better solution for larger input?

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

      For your idea in problem J

      here the code ( get acc bcs the weak test ) : Here

      the problem you can't do it, that if i give you every time the range have a mex of the number of operation get to it ( ex : 3op 1op 4op 2op 3op ... ) so u can't apply lazy for that range and u will go to every node update so it will be (Q * (N/2)) whitc is (Q*N) TLE

    • »
      »
      »
      3 months ago, hide # ^ |
       
      Vote: I like it +39 Vote: I do not like it
      Problem I
      Problem J
»
3 months ago, hide # |
 
Vote: I like it +29 Vote: I do not like it

The following way of taking input in B gets wrong answer:

    string a,b;
    cin>>a>>b;

however, the following gets AC:

    int aa,bb;
    cin>>aa>>bb;
    string a=to_s(aa),b=to_s(bb);

I hope you look into the test cases for B and make sure that they are valid (no leading zeros and such).

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

    same for me , it destroyed me

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

    Is it possible to rejudge the submissions of B if that's really the case? There might be people who didn't get it by the end of the contest and have the same issue. (I was inputting it as a string too, but I don't know if it's the only issue in my code).

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

When will the final standings be revealed?

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

will there be a mirror for the contest so we can practice the problems?

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

When will the qualified participants for the onsite competition be announced?

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

My experience with problem D in the NCPC Finals was very bad because of the constraints!

The problem is interactive where you are given $$$n$$$, and query ask is printing an array of indexes of at most size $$$2n$$$ and the judge response with single integer. You can ask at most $$$2000$$$ query per test, $$$1 \leq n \leq 200$$$ and sum of $$$n$$$ over all testcases will not exceed $$$2000$$$ with time limit $$$2$$$ seconds

Taking the almost-worst interaction scenario:

  • testcases $$$=10$$$
  • $$$n=200$$$ for all testcases
  • all queries will be asked an average $$$n$$$ elements

Lets count the number of printed integers only: let the printed array have an average $$$2$$$ characters.

Now we have $$$10 \times 200 \times 2000 = 4 \times 10^6$$$ integers printed. Also this goes by neglecting many other stuff. That will easily take $$$2$$$ seconds

Printing $$$4 \times 10^6$$$ integers is very bad and heavy intense on the writing/reading time during the interaction also we have the judge interactor time and the contestant solution time to execute.

This hit me a $$$350$$$ penalty and $$$80$$$ minutes gone on fixing a correct code that TLE because it prints much output while still obey the interaction constraints that take much time to notice that and optimizing the query.

Here is a screenshot of a cpp code simulating the interaction in the most optimized way

(Note that the optimized query is about $$$\frac{n}{3}$$$ printed interges on average)

However, good problem ideas.