FelixArg's blog

By FelixArg, 3 weeks ago, translation, In English

Neapolis University Pafos

Hello Codeforces!

The series of Educational Rounds continues thanks to the support of the Neapolis University Pafos.

On Apr/21/2026 17:35 (Moscow time) Educational Codeforces Round 189 (Rated for Div. 2) will start.

This round will be rated for the participants with rating lower than 2100. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest, you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally.

You will be given 6 or 7 problems and 2 hours to solve them.

This round is based on problems from the 2026 Tula Open Programming Championship.

The problems were invented and prepared by basalov_yurij, BledDest and me.

I would also like to thank the other problem authors of the championship: ashmelev, Galina_Basalova, Rudom71 and my-maxi-box. Thank you, it is a pleasure working with you!

Many thanks to the round coordinator, Ivan BledDest Androsov, for improving the quality of the problems and helping with their preparation.

Big thanks to our testers: 300iq, awoo, l-_-l, FairyWinx, Kirilliym, soup, Minder, KIRIJIJI, pusheen_1024, annasa, Sayleyd, dan00ile, egor4444ik, slash0t, tic_genie, alexanderanchishkin, vkotov, adedalic, Neon for their valuable advice and suggestions!

And of course, huge thanks to Mike MikeMirzayanov Mirzayanov for great systems Polygon and Codeforces.

Our friends at Neapolis University Pafos also have a message for you:

CSAI: First admission deadline approaches — April 28, 2026.

Apply for the BSc in Computer Science & Artificial Intelligence at the Neapolis University Pafos. Up to 40 full scholarships, provided by the JetBrains Foundation, are available this year.

Key Dates
  • Application Deadline: April 28, 2026, 11:59 pm UTC
  • Mandatory Entrance Test: May 3, 2026
A great opportunity: ACTS 2026.2 Camp

To improve skills and prepare for intense programs like CSAI, we encourage applying for the ACTS 2026.2 Camp in Germany (July 10-20, 2026).

  • Tracks: Competitive Programming and Software Engineering.
  • Registration Deadline: April 25th.

Ready to advance your coding journey? Join a leading computer science community today! Apply now and visit our dedicated pages for more details on how you can get involved.

Good luck to all the participants!

upd: The editorial can be found here.

  • Vote: I like it
  • -277
  • Vote: I do not like it

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

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

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

Manifesting +ve delta for most.

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

Not that 6 — 7 problems joke again.

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

hope to become expert this round

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

I wish it a successful contest better than edu185!

edu185 is the worst edu I've ever participated.

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

Hope to become candidate master!!!

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

edu plz save cf again

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

if I solve 2 problems I celebrate, if I solve 3 I check if it`s a dream.

  • »
    »
    3 weeks ago, hide # ^ |
     
    Vote: I like it -94 Vote: I do not like it

    Solving 3 problems in an edu contest is not that hard — an Edu contest is as easy as a Div.3. I think even 800 ratings users can do this. Wait, you're 500? Nevermind

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

      an Edu contest is as easy as a Div.3

      It even says — "Rated for div2"...

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

      Just comparing a subset of problems is not the criteria. You could have argued that an Edu Problem A can be compared to Div3A and that would have made sense. And no way, Problem C of both the contests can be compared.

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

if i solve 3 question it soo good for me but if i have solved 4 question it will dream

hope dream come true

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

hopefully I don't reach newbie again after this contest

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

excited to try it out ;D

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

Why are Educational Div 2 contests turning into Div 3 day by day?

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

Div-2 contest with Div-3 leaderboard loading i reckon

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

I hope I can solve min 2 problems today.

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

queueforces

»
3 weeks ago, hide # |
Rev. 6  
Vote: I like it +1 Vote: I do not like it

The contest didn't go very well, partly because certain key points need to be clearly highlighted so that participants notice them, and partly because the instructions were worded incorrectly. Please correct this.

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

The math and the overflow problem in problem D, also the geometry in problem E cooked me so bad. Not really enjoying this round.

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

    I feel this..I kept getting WA on test case 6 and wasted 20 mins wondering if my logic was shit, but turns out it was an overflow error. Stings, stings bad

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

      can i get some hints for D

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

        prefix-xor have 4 value : 0 , 1 , i , i + 1

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

        The (above) hint is already solid! I did not know the prefix-xor property — so please prefer that.

        I based my solution on even odd pairs. XOR is commutative so think along those lines. What can you pair, what does each pair amount to, how many of those pairs must you take for overall XOR value to be 0

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

        xor(r)=xor(l-1) where xor(i)=xor sum from 0 to i. Also, prefix xor can have only 4 values: 0, 1, i and i+1 . For i and i+1 -> you need to work out some cases, and you will find this won't be valid for a range which have a xor sum 0 (you can't make the xor sum equal while keeping l<=x<=r). For 0 and 1 you check the count of mod values 3 and 1 in the range respectively.

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

    for D i somehow completely forgot that (a * b) mod c is the same as ((a mod c) * (b mod c)) mod c and used 128 bit integers to compute a * b, wtf is wrong with me

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

For E i thought of doing hexagonal packing. We can find the nearest circle centre and check if current point lies inside it. Hexagonal packing has ~90% efficiency, since we are forced to only take integer point, i think it would drop to ~89% which problem asks. I couldn't get through the rounding issue though.

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

    I had my WA2 on h = ceil(sqrt(3) * r + 5) which gives good enough precision when r is big, but breaks when r is small. I've just removed +5 and it worked /shrug/

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

How E? I can only solve if the percentage is $$$78.5\%$$$ instead of $$$89\%$$$.

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

A and B is more like GuessForces. On the other hand, C is great. In fact, I think this is the best C I've ever met.

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

    yes B was way harder for me than C

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

    there is a solution to A

    let y/x be d

    y = dx

    a number smaller than y but divisible by x can be written as dx-x or y-x

    numerator(z) = dx-x (because y-x will always be a multiple of x if y is a multiple of x and greater than x+1) denominator = x

    (dx-x)/x = x(d-1)/x = d-1 which means dx-x will always be a multiple of x now let's check the second condition, which is "y is not divisible by z"

    dx/dx-x dx/x(d-1) d/(d-1) and we know that 2 consecutive number have hcf of 1, so remainder is not 0 at all

    thus we come to conclusion that, z = dx-x, or y-x

    but we know that x<z<y, so if here our z or y-x , is not greater than x then it is breaking the order rule, so basically it isnt possible when y-x <= x or not greater than x

    and our final solution is

    if y-x >x yes, else no

    so i dont think A was guessforces

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

E was worst experience ever

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

For F how do we compare 2 strings in less than 0(N). I mean we can use hashing but that gets hacked so what's the other way?

»
3 weeks ago, hide # |
 
Vote: I like it -45 Vote: I do not like it

Problem $$$E$$$ is cool. My solution:

The essence of this problem is that we need to use circles of a fixed radius to cover the entire plane such that the coverage exceeds 89%.

A simple construction is to place circles in a regular grid:

$$$x = i \cdot 2r, \quad y = j \cdot 2r$$$

However, this results in a coverage fraction of $$$\pi/4 \approx 78.5\%$$$, which is insufficient for the required 89%.

A better construction is a hexagonal-like tiling using integer grid approximation:

  • For odd $$$i$$$: $$$x = i \cdot \sqrt{3} r, \quad y = 2j \cdot r$$$

  • For even $$$i$$$: $$$x = i \cdot \sqrt{3} r, \quad y = (2j+1) \cdot r$$$

This arrangement ensures the circles touch but do not intersect and achieves a coverage fraction higher than 89%.

Coverage Analysis

  • Each circle has area $$$\pi r^2$$$.
  • The hexagonal-like placement approximates a triangular lattice, whose area coverage fraction is:

$$$ \pi / (2 \sqrt{3}) \approx 90.7\% \gt 89\%$$$

Implementation Strategy

  • For each point, check the four nearest candidate circles: top-left, top-right, bottom-left, bottom-right.
  • Include the point in the circle where it lies within the radius.
  • Collect all such circles to satisfy the coverage constraint.

This avoids enumerating the entire grid and works efficiently even for large $$$n$$$.

Hence, this construction guarantees enough coverage.

»
3 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it
Problem E
»
3 weeks ago, hide # |
Rev. 5  
Vote: I like it +10 Vote: I do not like it

Had a solution to E that requires no randomization (aside from that which is given to us in the input generation :)).

Start by approximating the bounding box as being between the bottom left corner and top right. Then just make the direct hexagonal arrangement in row order and discard all circles that don't contain anything.

Hexagonal arrangement covers ~90% of the box. Every point is then uncovered with probability $$$\leq 0.1$$$. Using the Normal approximation for Binomial random variable then yields that the probability of failure (i.e. at least $$$1101$$$ uncovered points) is on the order of $$$4 \cdot 10^{-4}$$$, which (with 40 tests) has an overall success probability of just under $$$99\%$$$.

That being said this might be one of the worst problems I've seen on a contest — completely unreasonable to expect contestants to prove that hexagonal covering actually covers 90% of the grid and hence this degenerates to a boring knowledge test/implementation task.

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

I made video editorial for the key idea behind D. Exceptional Segments.

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

Highly recommend using Geodeb library for geometry problems like todays E!

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

Why do unofficial contestants like Nachia appear in the official leaderboard?

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

QAQ I don't check ranges of the data in D. I'm so stupid.

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

I actually struggled more with the logic on B than C. I reached my 100 day streak today. Thanks for the round!

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

I wasted 30 minutes on problem E because I got WA just for having trailing spaces at the end of the lines.

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

Why so much downvotes?? It was a good contest indeed.

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

Why can't I hack submissions on problem F?

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

Weirdest contest ever, should have unrated

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

Possible idea source of E: https://www.youtube.com/watch?v=hGa8_P8X3yY  Shouldn't implement it on an Edu.E ...

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

Problem E is the worst one I have ever seen.

»
2 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Problem E: WA on test 36!

Sometimes it's desparate as well even knowing $$$\dfrac{\pi}{2\sqrt 3}$$$

»
2 weeks ago, hide # |
 
Vote: I like it -14 Vote: I do not like it

i genuinely don't know why this got downvoted to hell, it was your typical div 2 contest. people care too much about rating.

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

    My personal opinion:

    • The core idea for Problem E is not original to the author, it was copied from other sources. In other contests, this would result in the contest being unrated and the author being blacklisted.
      I know this is an Edu round, but that doesn't mean you can directly copy a template problem of a difficult(ad-hoc) algorithm;This is merely testing who is better at using search engines.

    • Problem F is a standard SA template problem.

»
2 weeks ago, hide # |
 
Vote: I like it +17 Vote: I do not like it

I solved all 7 problems but got hacked because I used hash in F.

The only chance to get grandmaster for me gone.

»
2 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

when will the ratings be updated ?

»
2 weeks ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

when I solved A to D, I know I have chance to get my rating up, but when I readed E, I know I'd better go to sleep(I'm in china exactly midnight when I participant the contest).

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

Is hashing even suited for problem F? I used 2 moduli hash (as suggested in editorial). Still got hacked by Sugar_fan. Like is Z function the only suggested method for this, though I commonly used it but was feeling petty for my Hashing template left unused since long?

Update: Should we be careful in choosing the primes to prevent anti-hash hacks? I used random_generator() and got AC.

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

    To avoid being hacked, you should use random bases. Using any number of bases and moduli with all of them fixed can still be hacked.

»
2 weeks ago, hide # |
 
Vote: I like it +4 Vote: I do not like it

CF Rating update time nowadays:

»
2 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

is not it rated?

»
2 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Is this contest rated ??

»
2 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

is this contest unrated ?

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

How am I going to get rated ? Because it has been nearly 24 hours since I participated in this contest, but I still haven’t been rated yet (I solved one problem)[contest:189 div 2]

»
2 weeks ago, hide # |
 
Vote: I like it -8 Vote: I do not like it

today, codeforces mailed me that my solutions for this contest are skipped because structure of my code looks same as some other candidate, i didnt copy any code from anyone, im new to codeforces , hence reading editorials may be i unconsciously wrote in same style but its my own code, i solved on my own.

please restore my solutions as i deeply respect codeforces rules . it was my second contest and attempted it with so much courage and energy.

»
2 weeks ago, hide # |
Rev. 2  
Vote: I like it -8 Vote: I do not like it

Hello Everyone, I got a plag for the problem E(covering points with circles) . I really surprised by seeing the solution. It similarly matched but I don't even understand how this even happens. Let me tell my approach for this problem and share the screenshots of my coding style. Due to this it showed that I am out of contest.

Based on the problem statement my understanding of the question is

We need Place circles of radius r with integer centers, non-overlapping (may touch) Each circle must contain ≥1 given point Cover ≥89% of all points Points are uniformly distributed in a rectangle whose area ≥ 10 × circle area

Since points are uniformly random, the fraction of points covered ≈ fraction of the plane covered by circles. We need ≥89%. So I thought that hexagonal packing is better approach.

So, my intuition is rows at y = j·d_v, even rows have centers at x = 2r·i, odd rows offset by r (so x = 2r·i + r). For non-overlap, adjacent-row neighbors must be ≥ 2r apart: r² + d_v² ≥ 4r², so d_v ≥ r√3. So,For each point, we need to find its nearest hex lattice center (4 candidates — floor/ceil of row and column indices). If it is within distance r, we should mark that center and need to print all marked centers. And the time complexity for this is O(n). So, I don't know why I faced plag for this. I did it on my own and I really can't understand why this happened. So, because of this will my rating and account will be affected? Or else will there be any further enquiry? Please restore my solution as I deeply respect codeforces rules.

»
2 weeks ago, hide # |
 
Vote: I like it -25 Vote: I do not like it

Hello, regarding the plagiarism warning for 2225E: both referenced accounts belong to me. I submitted the same solution from another account to check whether it would be accepted before submitting on my main account. I understand this violates the rules and I won’t do this again. Sorry for the issue.

»
2 weeks ago, hide # |
 
Vote: I like it -21 Vote: I do not like it

Hi first time getting flagged here but I'll try my best to explain my thought process for problem E . I used hex lattice packing w random offset to maximize coverage. This is a standard geometric construction for covering points, it naturally leads to similar coordinate transforms and local neighbor checks, which may explain the resemblance to other submissions... also used a personal template which used a fixed seed for randomization that I use (mt19937 rng(Leet)) generally in practice. I use sublime text as an ide, pc's too potato to handle both my browser and vsc. I did not copy another participant’s code during the contest. I will be more careful to ensure complete independence and perhaps employ other concepts during future contests. 372019544

»
2 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

@psgawa is it still possible to hack the solution of F if we use single hashing with modulo as 2^61-1 and using randomized base ??

»
2 weeks ago, hide # |
 
Vote: I like it -7 Vote: I do not like it

I was flagged for plagiarism in 2225D, I think this is a mistake since my solution doesn't match with those flagged.here is the link to my submission :

my submission

some of the other flagged ones are as follows :

flagged 1

flagged 2

flagged 3

flagged 4

flagged 5

None of these submissions match my code or structure completely. flagged 4 is not even cpp code. I believe this is a mistake and request you to please verify and correct this mistake.

FelixArg, BledDest, basalov_yurij, MikeMirzayanov

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

    That's exactly right! I also received a warning from the system, but after taking a closer look, I realized my code isn't similar to theirs.

    I think the solution to this problem is pretty straightforward, so everyone used the same approach. That's why, under the syntax tree, everyone's code was deemed identical. The underlying logic of the code is the same—namely, the problem-solving formula we’ve developed.

»
2 weeks ago, hide # |
 
Vote: I like it -9 Vote: I do not like it

Subject: Regarding plagiarism detection on problem 2225D [Submission: 372013367] Dear Codeforces Team, I hope you are doing well. I am writing regarding the plagiarism notice I received for my submission to problem 2225D (Submission ID: 372013367). I would like to respectfully clarify that I solved this problem entirely on my own. I did not use any unauthorized resources, nor did I share my code with anyone. The approach I used is based on a well-known mathematical property of XOR prefix sums, specifically the pattern involving ( k \mod 4 ), which is commonly used to optimize XOR computations. Because this technique is standard, it is possible that my implementation appears similar to others who applied the same logic. Additionally, I used a std::map to maintain frequency counts and iterated through the ranges ((0, x-1)) and ((x, n)), which I believe is a natural and straightforward approach for solving this type of counting problem. I take the integrity of competitive programming very seriously and always strive to follow the rules of the platform. I kindly request you to review my submission again. I am fully willing to explain any part of my solution in detail if needed. Submission link: https://mirror.codeforces.com/contest/2225/submission/372013367 Handle: shubhachakma Thank you for your time and consideration. Sincerely, Shubha Chakma

»
2 weeks ago, hide # |
Rev. 2  
Vote: I like it -8 Vote: I do not like it

Hello FelixArg BledDest basalov_yurij MikeMirzayanov Please read full

This evening, I got shocked after getting plagiarism mail after giving 190 contests on Codeforces in this contest in question D(Exceptional Segments).

Just want to put some points from highest to lowest priority: - I took the idea to solve the subproblem of this problem from blog: https://www.geeksforgeeks.org/dsa/calculate-xor-1-n/ which does not violates the rules of codeforces. - It is stated in the mail that solution with ID: 372046384 is matching with others. But this solution of mine was not even accepted. The accepted code is with ID: 372047912. - I was already having a pathetic contest(solved C problem with a lot of struggle) and was already expecting a big negative delta then for which purpose I will cheat in problem D !!! - I code on antigravity code editor which gives some free credits of claude opus. The moment I got solution in my head with help of that blog. I directly explained the solution to my inbuilt claude and it wrote the solution. Now I don't know how the heck it wrote wrong modulo value in it's solution due to which I got that wrong ans on pretest 4 (the code which you caught). But quickly I caught that thing and changed modulo value then submitted and it got accepted(there is nothing said about this code in your mail). - Never thought that after genuinely grinding through all these years and transitioning from an average student to a CM and not stopping even after reaching CM (most of the Indians stop) would later result me to such a rubbish plag tag :) **** MikeMirzayanov please look into my matter as fast as possible. If you want any further proofs then ask me I am ready to cooperate.

»
2 weeks ago, hide # |
Rev. 5  
Vote: I like it -8 Vote: I do not like it

I think I know why.I would't use AI translator anymore....

»
2 weeks ago, hide # |
 
Vote: I like it -8 Vote: I do not like it

i am writing an appeal for the warning for submission of D problem.. I checked the matched submission that were given to me.. most of the solutions didn't match with my submission.. that is very disappointing for me for such a contest as i am new to competitive programming as well as very demotivating for me.. Please check out the matter my submission: 372032649 for 2225D.

»
2 weeks ago, hide # |
Rev. 9  
Vote: I like it -8 Vote: I do not like it

I got a plagiarism on my solution, and so did many other people, even though the solution to the problem was knowing the period of the function and being able to write two formulas. https://mirror.codeforces.com/contest/2225/submission/372036971 the logic of the solution is the same for everyone all you had to do was calculate when XOR on the prefixes gives 0 and when it gives 1 and add up the number of variations. The whole problem is solved in 4 lines, although there are differences in the codes of those who are suspected of cheating. The question arises: what is the point of checking for plagiarism on a problem that can be solved with two formulas? https://arsslenidadi.medium.com/mysterious-pattern-with-exclusive-or-xor-sum-11f154d0f763 Here's a publicly available article that describes almost the entire logic of the solution. It also describes when the XOR of subsequent elmentors is equal to 0 and when it is 1.My solution was not plagiarized like many others, and the logic behind everyone's solution was similar, although my function is quite different from the others I saw.Thank you in advance for reading and sorry for my bad English. Please remove the wrong verdict of my decision.

»
2 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Sorry that my code overlapped with another. I am trying not to repeat this anymore

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

Nice problems

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

Dear Administrator,

I am the author of submission number 372015167 for problem 2225D. I am writing to appeal the decision that my solution is highly consistent with many other solutions.

  1. My actual behavior I solved this problem independently. I did not copy anyone else's code, nor did I share or publish my code before or during the contest.

  2. Key evidence: Two submissions flagged as "similar" are visually very different Among the submissions listed as coinciding with mine is 372011294.

Anyone can visually compare these two submissions: - Mine: 372015167 - Flagged as similar to mine: 372011294

These two submissions are clearly very different in terms of variable naming, code structure, indentation style, and implementation details. They do NOT look like copied or leaked code.

Yet the system's AST-based similarity detection still marked them as "similar."

  1. The only logical conclusion This contradiction actually proves the key point:

    If two visually distinct solutions are flagged as similar by AST detection, the only possible reason is that the problem itself has an extremely limited solution space. The core logic / formula is forced by the mathematical structure of the problem.

Any independent solver who finds the optimal solution will naturally end up with nearly identical core logic — not because of cheating, but because the problem leaves no other reasonable way to write it.

  1. My request I kindly ask the administrator to:
  • Visually compare submission 372015167 and 372011294. They are clearly not similar in any ordinary sense.
  • Re-evaluate whether the automated similarity detection is appropriate for this specific problem, given its uniquely constrained solution.
  • Reconsider the penalty against my account.

I am willing to provide additional explanation of my solution or a handwritten derivation if needed.

Thank you for your time and understanding.