Блог пользователя qwexd

Автор qwexd, 2 месяца назад, По-английски
1121. Another Round
time limit per participant
2 hours
memory limit per participant
1 brain

This is an interactive problem a contest with an unusual start time.

You are given a Codeforces account and $$$n = 6$$$ problems, authored and prepared by qwexd and jeroenodb.

In one operation, you may choose a problem $$$i$$$ ($$$1 \le i \le n$$$) and submit a program intended to solve it.

The maximum scores are given below. Problem E is divided into two subtasks.

Problem A B C D E F
Maximum score 500 1250 1500 2500 2000 + 1500 3000

The points awarded for a correct submission may be lower, as determined by the Codeforces scoring rules.

Your task is to maximize your total score before the time limit expires.

Input

The input consists of the problemset of Codeforces Round 1121 (Div. 2). It became available on Sep/13/2026 20:05 (Moscow time).

The round is rated for participants with a rating below 2100. Participants with a rating of 2100 or higher are welcome to participate out of competition.

Output

For each problem you choose to solve, submit a correct program. You may solve the problems in any order.

Printing YES is not sufficient.

Note

It has been shown that every problem has a solution. The proofs are now available in the editorial.

The following participants were the first to construct correct solutions:

We would like to thank:

Thank you for participating!

  • Проголосовать: нравится
  • +1304
  • Проголосовать: не нравится

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +124 Проголосовать: не нравится

As a tester, I may have started a trend with announcement posts :)

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +15 Проголосовать: не нравится

Thank you for making my bedtime 2 a.m.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Before you add the score distribution put it in a Scoring section instead of where it is right now

Also I think you should note the unusual start time

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +47 Проголосовать: не нравится
/* 
 * Author: temporary1
 * Problem: 1121. Another Round
 * Time Created: 01:24:40 Sep/12/2026 (UTC+0)
 */
#include <bits/stdc++.h>
using namespace std;

int main() {
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	int n = 6;
	vector<string> contest;
	for (int i = 1; i <= 6; ++i) {
		string problem;
		cin >> problem;
		contest.push_back(problem);
	}
	mt19937 rng(1121);
	shuffle(contest.begin(),contest.end(),rng);
	for (string problem : contest) {
		cout << "#include <bits/stdc++.h>" << '\n';
		cout << "using namespace std;" << '\n';
		cout << '\n';
		cout << "int main() {" << '\n';
		cout << "	ios_base::sync_with_stdio(false);" << '\n';
		cout << "	cin.tie(NULL);" << '\n';
		cout << "	cout << \"as a tester, i tested this problem\" << \'\\n\';" << '\n';
		cout << "	return 0;" << '\n';
		cout << "}" << '\n';
		cout << '\n';
	}
	return 0;
}

as a tester, i tested the round announcement

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +15 Проголосовать: не нравится

didn't have to call me out like that smh

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

thank you for making me not have to get up early

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

as a tester, im glad i didnt end up on the shame board.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +4 Проголосовать: не нравится

please highlight the unusual start time, someone might not notice!

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

As a tester, you shouldn't be saying "We would like to thank you, for participating in the round" because I will not participate.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +23 Проголосовать: не нравится

its bed time for me

»
2 месяца назад, скрыть # |
← Rev. 2  
Проголосовать: нравится -11 Проголосовать: не нравится

heuristic problem in codeforces!

also, i want examples, i don't read statements, only examples and notes

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +9 Проголосовать: не нравится

As a tester, the best thing I did wasn’t solving the problems it was bringing in a better tester than me, shoutout Rayo my goat

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +23 Проголосовать: не нравится

Good time for Chinese students

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +6 Проголосовать: не нравится

one more outside the box announcement!

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +16 Проголосовать: не нравится

Hope to not get a Brain Limit Exceeded verdict :)

By the way, creative announcement though. Initially, I thought I had entered into a problem statement haha...

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

As a tester I would like to say that this is my very first comment.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Guess I'll be doing Codeforces from midnight Monday, what a good way to start a week.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +9 Проголосовать: не нравится

As a tester who didn't test, my memory limit was eaten by the zombies.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

No not midnight again!!!

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +6 Проголосовать: не нравится

tested

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

creativity

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Nice way of announcement!

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Very pioneering!

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

The pressure for creativity is going up for the next announcement.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Thank you for making my bedtime 3 a.m.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +9 Проголосовать: не нравится

I guess the next announcement will take the form of a chat message.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Love to see an announcement getting more creative

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Bro thinks he's nik_exists

»
2 месяца назад, скрыть # |
← Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

Really Amazed by the Announcement Style!!! What an Idea! WOW!!!

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

memory limit per participant should be 1 brain and 0 ai

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Well i was not gonna participate but now i will after this creative announcement.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

As a nontester :(

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +16 Проголосовать: не нравится

Good news: I have no brain.

»
2 месяца назад, скрыть # |
← Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

Hope to get back to CM!

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

why E and F are ordered that way if total score for E is bigger than for F? even in 1120 div2 we have B > C1 scores so its fine, feels like problems should be swapped

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +2 Проголосовать: не нравится

Is Shakespeare really dead?

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

the most creative contest announcement ever

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

It can be shown that this problem is orz

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится
»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

As a participant, my goal is to solve two problems. Good luck to everyone!

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

all the best guys

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится -10 Проголосовать: не нравится

Thanks everyone for participating in Codeforces Round 1120 (Div. 1, Div. 2). Although it was initially difficult to understand from the editorial when I first participating in Codeforces contests. However I found that once I got used to it, the explanations felt very easy to understand, accurate, and highly academic. I'm just saying little advice, I mean do it when there is the editoral. We should read the hint and solution before reading code (Sorry for my bad English) I came from the past, not the future

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Interesting annoucement! Thank you for making my bedtime 3AM :(

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Bad timing for me

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Does this have any interactive problems?

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

speedforces?

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

Thank you for making my bedtime 2 a.m.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

Ahh man!! Had to unregister because of goofy timing

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I hope I reach rating 1500+ after this round good luck to everyone

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Awesome contest anouncement this is so creative bravo authors

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Why is the competition held at midnight?

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

i have to become specialist by the end of november

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Oh no!!!I have to go to school!!I can't get up at 01:05!

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

allow hacking

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

btw why unusual time?Any specific reason? qwexd

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

RIP my sleep

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Users in the announcement are displayed with their max rating color instead of their current rating... orz

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Bad time for Chinese programmer!!!

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +6 Проголосовать: не нравится

wtf was that D

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Very difficult round. C was itself very difficult as compared to other D2 C's (atleast for me). Disappointed!

»
2 месяца назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +8 Проголосовать: не нравится

How to solve F? I tried Lagrange interpolation on the first 50 terms of the deranged sequence and then represented it in binary(by using (n/n+n/n)), but it ended up taking 323612 characters, which is way over the 10000 character limit

upd: the answer is n! / e

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

damn, why did I even bother staying up

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

For $$$D$$$, when we put three 1's, I just guessed something about the sizes of the groups of 0's and it passed. Could anybody prove it?

  • »
    »
    2 месяца назад, скрыть # ^ |
    ← Rev. 3  
    Проголосовать: нравится 0 Проголосовать: не нравится

    lets say we have all 0's

    this will give us order of len2 segments (every L and every R is a valid — len*(len+1)/2).

    so breaking it into half (with only one 1 in the middle) gives us (len2)/4

    similarly breaking into more parts will further reduces the segments count

    now look at the powers of 2

    1 2 4 8 16 32 64 and so on
    
    mod3 = 1 2 1 2  1  2  1 . . .
    

    U know the divisibility property of 3 is the sum of digits should be divisible by 3 in decimal, doing same here in binary its sum of modulo3 for powers of 2

    Now we need to choose the indices where we don't try to avoid having three 1's in the mod3=1's position or three 2's in mod3=2's position or one in 1's and one 2's, if its possible

    and given it is atmost 3, placing two 1's is always better than placing one 1; depending on the length required we try to place 1's they creates least number of numbers whose mod3==0

    now based on length of the binary string there is a pattern that repeats that u need to catch

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Modulo with negative numbers...

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Is D too non-trivial or am I dumb? First three looked way more intuitive

»
2 месяца назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +3 Проголосовать: не нравится

solved D after long time, but I don't know how it works

  • so I just brute forced till n=20 and observed the pattern, n=10 and n=16 was a bit different but that also worked for n=22 so I just guessed it will continue to work.

this time I might get good delta due to D but then next time it will cause me big negative delta .. lol !!!

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

How to solve E1?

  • »
    »
    2 месяца назад, скрыть # ^ |
     
    Проголосовать: нравится +3 Проголосовать: не нравится

    The only thing that matters in a subsequence is the maximum and the minimum value which can be found using dp, then you count.

  • »
    »
    2 месяца назад, скрыть # ^ |
     
    Проголосовать: нравится +3 Проголосовать: не нравится

    We can precalculate the X value for any two number using a dp-form thing. like g(a,b) for the max x we can get after operations so that a->x and b->x. Secondly, f(b)=g(min b_i,max b_i). So we can enumerate over all min b_i and max b_i and calculate the corresponding contribution.

    (I'm not sure if this is correct)

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I hate those problems like C, in which I spend half of the time finding the integer overflow somewhere. I found the recurence in like 10 minutes and then spent 20 minutes debugging. I think I would be able to find solution to D with that aditional time.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Solution sketches for A-D (I didn't get cooked):

A. We will only have to operate on indicies that are out of place ($$$i \neq a_i$$$), so simulate the operation on all out of place

B. We can compress the formula to $$$b_m \cdot m$$$ minus the rest of the elements. Use a std::multiset to track the $$$m - 1$$$ least elements behind each potential final element.

C. It's a somewhat complex formula, see my submission, but basically we're sorting the array and taking each element's contribution.

D. Write a brute force, and notice for sufficiently large $$$n$$$, there is always a unique solution with three ones that ends with 1. We can find constructions that end with 1 for $$$n = 6 \dots 12$$$ and notice that due to the fact that $$$2^k$$$ is cyclic modulo $$$3$$$, we can construct a similar solution for any $$$n$$$ and $$$n + 6$$$. Store the solutions for $$$n = 1 \dots 12$$$ and construct similar solutions for $$$n \gt 6$$$ from $$$n = 6 \dots 11$$$. See my submission for more details: 390645815

Carrot broke for me, can someone check my performance?

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Math contest, good problems!

Solved D fast:)

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Great Contest

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

i'm so happy i managed to solve C for the first time!!!!!!!

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I am curious about how checker for D works

The best I can think is that first we can count all the substring whose all element is 0 after that for every index i we will check for the nearest 1s in string and check whether they are multiple of 3 or not and add them in this way i think checker could work in o(n) , but there has to be good and efficient way

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

madly difficult C; had it not been for the unusual start time i may have solved it. good round tho, really challenging for once!

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

How to solve Problem C?

  • »
    »
    2 месяца назад, скрыть # ^ |
     
    Проголосовать: нравится +3 Проголосовать: не нравится

    C Madamant's Skating Dynasty O(N log N) Approach

    First, sort the array so we can process the elements in order.

    Then, we calculate suffix sums. This lets us quickly find the sum of all the elements to the right of the current position instead of calculating it again and again.

    We also precompute factorials up to N, since the formula uses factorials such as (N-1)!. For the division part, we use modular inverses because everything is calculated modulo 998244353.

    After that, we go through the array once, calculate the contribution of each element using the formula, and add everything to the answer.

    The sorting takes O(N log N), while the rest takes O(N)

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Nice contest excellent problems I like it thanks to authors for contest!

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

E2 question: I solved E1 with an O(n^2) approach and tried submitting the same solution to E2, but it TLE'd on pretest 3. I understand that E2 needs a better complexity, but I'm having trouble seeing the optimization. What was the key observation for making the E1 approach fast enough for E2? I tried submitting it during the contest because I wanted to see whether my E1 solution would surprisingly pass E2 as-is, since I already had the E1 solution working. I didn't want to wait until after the contest because I was curious about the actual result. Also, the solution was completely my own I was just experimenting with whether the E1 complexity would survive the E2 constraints.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

C: I tried to % 998244353 before sorting it XP

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

i like you so much this round is so good <3<3<3<3<3

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +2 Проголосовать: не нравится

It was a really exiting contest.

I enjoyed it.

Thank you, Codeforces.

I love you.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Hi!

What was the accepted time complexity for B?

  • »
    »
    2 месяца назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    $$$O(n \log n)$$$

    • »
      »
      »
      2 месяца назад, скрыть # ^ |
       
      Проголосовать: нравится 0 Проголосовать: не нравится

      I have an O(N log N) solution using 2 priority_queues, but still get Runtime error, and I don't get it. Could anyone check it out, please?

      // this is code
      
      #include <bits/stdc++.h>
      
      using namespace std;
      int v[200005];
      int main()
      {
          int T,N,M;
          cin>>T;
          while(T--)
          {
              cin >> N >> M;
      
              for(int i = 0; i < N; i++)
              {
                  cin >> v[i];
              }
              priority_queue<int> pq1;
              priority_queue<pair<int,int>> pq2;
      
              long long sum=0;
              for(int i = 0; i < M - 1; i++)
              {
                  sum += v[i];
                  pq1.push(v[i]);
              }
              for(int i = M - 1;i < N; i++)
              {
                  pq2.push({v[i],i});
              }
              long long sol = M * pq2.top().first - sum;
      
              for(int i = M-1; i < N-1; i++)
              {
                  while(pq2.top().second <= i)
                  {
                      pq2.pop();
                  }
                  if(pq1.top() > v[i])
                  {
                      sum -= pq1.top();
                      pq1.pop();
                      sum += v[i];
                      pq1.push(v[i]);
                  }
                  sol = max((1ll * M * pq2.top().first - sum), sol);
              }
              cout<<sol<<'\n';
          }
          return 0;
      }
      
      
      
      
      • »
        »
        »
        »
        2 месяца назад, скрыть # ^ |
         
        Проголосовать: нравится +1 Проголосовать: не нравится

        maybe pq is empty (m=1)?

      • »
        »
        »
        »
        2 месяца назад, скрыть # ^ |
         
        Проголосовать: нравится 0 Проголосовать: не нравится

        wait so do u have to use a priority queue? i lowkey havent learnt that yet so i was wondering if its possible without.

        • »
          »
          »
          »
          »
          2 месяца назад, скрыть # ^ |
           
          Проголосовать: нравится 0 Проголосовать: не нравится

          yes, with the formula I reached:

          sol = max(sol, M * Bm — S)

          where S = B1 + B2 + ... + Bm-1

          I basically had to determine the best pair o minimum S sum and maxim Bm

          So you do need 2 priority_queues or a multisets (but the priority_queue is a bit better in time complexity)

          I used the first pq for the B1, ... , Bm-1 so I can always have the smaller elements <= i, and if something smaller appears I can quickly take out the bigest element I had and replace it (because the priority queue keeps the elements in decresing order)

          The second pq is for Bm, to always know the biggest element I have remaining in the interval from i+1 to N. And I only remove elements if they are not in the range any more.

          I hope that I answered your question clearly :)

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I really hate E1 with 5th test

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Я реально ненавижу Е1 с этим пятым тестов, я смотрел, там многие от этого полегли

»
2 месяца назад, скрыть # |
← Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

Я привык к времени 17:35 и у меня в памяти отложилось что начало в 20:35, я захожу в систему и в шоке наблюдаю что контест начался в 20:05.

Пожалуйста, больше так не делайте, делайте контесты только в 17:35

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится -54 Проголосовать: не нравится

I was used to the 17:35 time and had it in my head that it started at 20:35; then I logged into the system and was shocked to see that the contest had actually started at 20:05.

Please don't do this again—only hold contests at 17:35.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

Good contest, really bad time for the round :(

Its bedtime here for me lmao

»
2 месяца назад, скрыть # |
← Rev. 2  
Проголосовать: нравится -37 Проголосовать: не нравится

Deleted

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

I didn't read 'exactly m' in problem b and then lost 40 min implementing a solution with two segment tree for frequencies and sums and coordinate compression. Anyway really cool contest, i wished i had more time for D.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится

good contest

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

we need more div 4 and div 3 contests please for newer

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

I'd like to thank nik_exists for such a lifechanging contest!

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +11 Проголосовать: не нравится

Thank you nik_exists for this beautiful contest! Before this contest I couldn't get past outskirts in rain world and now I've beaten the game on hunter with my limbs removed. I enjoyed how every problem was about obscure number theory algorithms. Thank you.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

loved the round ❤️

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

strange scores for problems and very hard D (at least for me and my friends ) but cool A-B-C thanks for the contest but I hope to have a more balanced D next time :)

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Yesterday I give this contest and Now I got a message regarding getting same answer copying from other user. I really do not understand why I get this message because I obviously solved Problem B by my own. It might be coincidence that user loly.talal might get same thinking process for this process, it doesn't say that we cheated on this problem. This is a div2 B and I do not think there might be different solutions for this problem, so it is common to get same solution for this kind of easy problems.

Please remove the “skipped” tag from my contest participation; otherwise, it may negatively affect my rating and could result in my account being banned.

  • »
    »
    2 месяца назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    I completely agree with you! This was a straightforward Div. 2 B problem, and it's totally normal for multiple people to have the exact same thought process and standard approach independently. There was no copying at all, and it's just a coincidence. Hopefully, the status gets resolved and our ratings/submissions are restored properly.

»
2 месяца назад, скрыть # |
← Rev. 2  
Проголосовать: нравится -10 Проголосовать: не нравится

how I can get Accepted with this problem?

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

Hello,i'm not sure but System warned me for my D problem and i will try to clarify my state so i will explain in this blog(System said "If you have conclusive evidence that a coincidence has occurred due to the use of a common source published before the competition, write a comment to post about the round with all the details.").First of all thanks for not blocking my account and giving me a chance to clarify the state.Firstly i accept that some cheaters used same logic with me and their code is AI written(Which they got banned).I want to state that this code was written by me and in my style(You can check my old submissions).Also i tought that n<=2e5 for all test cases which is why i used memorization(also no other people used memorization for this problem).Normally i was not gonna solve this problem but i saw that "Dr. Agos wants a pattern with at most three lit pixels that minimizes f(s) among all binary strings of length n, including strings with more than three ones.". After i saw this i can divide the string in 3 which would reduce answer because a string which it's length is x and only have 0 contributes very very much to answer(x*(x+1)/2) so i need to minimize x.Then i tried all N values from N=1 to N=14(Which is why i spent 50 minutes on this problem)(and i want to upload my notebook page but i don't know how any help will be appreciated.) .After trying i had a general idea and implemented my idea.Also i want to state that Editorials solution uses my idea but it tries more than 1 possibilities.Well i can't prove proofs rn but if i manage to upload fotos this will definitely be helpful for me.Also i want to say that i really tried to get AC because i was saying a lot "Tomorrow i will be Specialist" to my friends from Olympiad and i spent a lot of time on B and C and according to Carrot i couldn't be Specialist and next contest is in 5 weeks and today schools have opened and i want to enter to new school year as a Specialist so i had a really big motivation in solving this problem (Even my friend mhdkr2012 said me that he was gonna send me all of his money to me if i manage to solve problem D.)So in the end i manage to solve this problem because of a big motivation.Also a lot of my friend knows me and they would help me with the case.TIA.

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I found some people thanks nik_exists for the great contest, but realizing that he is not even the author...

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

@MikeMirzayanov

I received a plagiarism/coincidence warning for my submission 390640446 for problem 2264C, which was reported as coinciding with BlackAugust's submission 390638218.

I want to clarify that I do not know this user and did not copy their solution or share my solution with them. I independently solved the problem.

I understand that there are significant structural similarities between the two implementations, particularly the suffix sum, factorial calculation, and modular inverse calculation. However, these came from my own implementation of the solution.

My submission also contains an additional duplicate-value check and differs in several implementation details.

I would appreciate it if the submissions could be reviewed manually before any penalty is applied.

My submission: 390640446 Flagged submission: BlackAugust/390638218

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

wait how am i yellow in the blog

»
2 месяца назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Subject: Explanation for Code Coincidence (Problem 2264C — ArefinMahir)

Hello Codeforces Team,

I am writing regarding the plagiarism warning for Problem 2264C (coinciding with user 'SuperIntelligence'). I did not intentionally share code or collaborate with anyone during the round.

The code coincidence occurred due to two unintentional public exposures during the contest:

Public Online Compiler: I experienced local setup issues running C++ directly in VS Code, so I executed my code using an online compiler without changing the default privacy setting from public.

Public GitHub Repository: I configured automatic code pushes to a public GitHub repository as part of learning Git and GitHub.

Someone likely scraped the public compiler output or public GitHub repository during the round and submitted the code.

I understand that public code exposure is my responsibility. I have changed my GitHub repository to private and configured an offline C++ compiler in VS Code to ensure this does not happen again.

Submission ID: 390651278

Matching Submission ID: 390651632

Thank you for your understanding.

»
2 месяца назад, скрыть # |
← Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

[Deleted]

»
7 недель назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Hello Codeforces Team,

I sincerely apologize for the violation related to my submissions in the contest.

My Codeforces account 23h51a05w2_codeforces has been disabled, and I am currently unable to access it. Therefore, I am posting this comment from another account only because I cannot access my original account.

During the contest, I was experiencing problems with my PC. Because of this, I used Ideone to run and cross-check my code. I now understand that using Ideone with publicly accessible code could have resulted in my code being exposed and could explain the significant similarity detected in my submissions.

I sincerely regret this mistake. I understand that even if the code leakage was unintentional, I was responsible for following the Codeforces contest rules and for ensuring that my code was not publicly accessible.

I did not intend to gain an unfair advantage or share my solutions with other participants. Nevertheless, I understand the seriousness of the situation and accept responsibility for my mistake.

During the contest, I was experiencing problems with my PC. Because of this, I used Ideone to run and cross-check my code. I now understand that using Ideone with publicly accessible code could have resulted in my code being exposed and could explain the significant similarity detected in my submissions.

I respectfully request the Codeforces administrators to please review my case and consider restoring my account 23h51a05w2_codeforces.

I have learned from this incident and will be much more careful in the future. If my account is restored, I promise to strictly follow the Codeforces rules and will never use a public external service for contest code again.

I understand that the final decision is completely up to the Codeforces administration, and I will respect whatever decision is made.

I sincerely apologize to the Codeforces Team and the community and kindly request one opportunity to correct my mistake.

Thank you for taking the time to review my request.

»
7 недель назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Again massive cheating, just block everyone from India.

»
7 недель назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Hey someone kindly give this post an upvote it's currently at 1299 make it 1300.