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

Автор tibinyte, история, 18 месяцев назад, По-английски

Hello, Codeforces! Or, as we like to say in Romania: Nu îmi amintesc să fi adresat întrebări, Codeforces!

I am glad to finally invite you to participate in CodeTON Round 3 (Div. 1 + Div. 2, Rated, Prizes!), which will start on Nov/06/2022 17:35 (Moscow time). You will be given 8 problems and 2 hours and 30 minutes to solve them. It is greatly recommended to read all the problems, statements are short and straight to the point.

I would like to thank:

Scoring Distribution: 500-750-1250-1750-2250-2500-3250-3500

The editorial has been published here!

And here are our winners!

And here is the information from our title sponsor:

Hello, Codeforces!

We, the TON Foundation team, are pleased to support CodeTON Round 3.

The Open Network (TON) is a fully decentralized layer-1 blockchain designed to onboard billions of users to Web3.

Since July, we have been supporting Codeforces as a title sponsor. This round is another way for us to contribute to the development of the community.

The winners of CodeTON Round 3 will receive valuable prizes.

The first 1,023 participants will receive prizes in TON cryptocurrency:

  • 1st place: 1,024 TON
  • 2–3 places: 512 TON each
  • 4–7 places: 256 TON each
  • 8–15 places: 128 TON each
  • 512–1,023 places: 2 TON each

We wish you good luck at CodeTON Round 3 and hope you enjoy the contest!

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

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

Good luck in LeafTON round 3.

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

omg green round

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

As a tester, I am sure you will find some interesting problems whatever rating you have and I wish you good luck and high rating!

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

First of all, as a tester, I tested. Secondly, I strongly recommend this round!!!

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

As a tester, I'm already yellow, not purple!

Upd: Good luck to all participants! tibinyte orz

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

The contest's duration is 2.5 hours in blog but 2 hours in Current or upcoming contests?

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

As a tester I suggest everyone to participate in this contest. Even I want to participate in it but I obviously can't :(

I wish everyone good luck and a good experience

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

    As a sad I can't participate in the round myself I'm a tester too!

    good luck everyone! hope you find some interesting problems and have a good time

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

As a tester, Problem A is one of the problems of all time.

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

GREEN>>CYAN

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

statements are short and straight to the point. finally it's in the blog. Thanks

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

As a newbie , it will be more fun to participant in a green author round . Best of luck all.

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

As a tester I tested

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

Leaf forces

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

Excited for a green round :)

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

Well, it's obvious that tibinyte is a talented programmer, but he just managed to get negative deltas to become green to pretend to be weak. Also, he is just the blog sender, not one of the problem setters.

So, I wish you guys get positive deltas & have fun!

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

    As a tester, tibinyte is the main author of this round. Please do not spread misinformed opinions.

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

    Capital L

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

    As a Tibinyte's friend I can tell you that he has been developing this round since long time ago and he's the main author of round. Please do not spread misinformed opinions. (and reach master)

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

    As a Leafeon supremacist, I can confirm that this claim is baseless. Also green is the best color because Leafeon is the best Pokemon

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

    Okay I'm sorry for that, I apologize for this.

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

    Personally, a round is the result of everyone's joint efforts. Whoever thinks of the idea, who thinks the solution, who proves the correctness of the algorithm, who perfects the statement, who creates the powerful test data, and who fixes the issue is actually unnecessary so clearly. What matters is our joint efforts and our friendship.

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

    I believe you had a huge surprise...

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

Is it rated?

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

How do they'll send cryptocurrency? We have to have crypto wallet?

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

As a tester I have nothing more to add than "Good luck!" and "May the God have mercy on you", because the problem setters surely don't know the definition of this word.

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

Time to become CM now ;)

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

G Gaming

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

Time for Remontad

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

Oooh wow! 58 people contribute to making this round happen.

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

Aiming green in the green round... Wish me luck :)

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

Wish me luck hope i become green after this contest.

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

Hope I will get GM. :)

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

round need to be unrated, because it is round

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

How do they'll send cryptocurrency? We have to have crypto wallet? someone can answer to this question plz!

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

Will score distribution be announced briefly before the beginning of the round?

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

Hope that I will be Pupil after this round

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

Score distribution?

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

In the previous CodeTON rounds, I lost my rating. Hope Today I will gain plus point.

Love to see short statements and straight to the point.

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

let's go

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

time to + 100

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

Last few contests gave me cancer

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

What is the conversion ration TON to INR ??

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

How to optimize E from O(n^2) to O(n) or O(nlogn) ?

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

Good problems, very good D and E was easy

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

How to calculate the number of numbers from 1 to M coprime to N ?

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

Took me 40 minutes to search and read about Mobius function(Problem D). Not sure if there is any solution that doesn't utilize it.

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

    Use the Inclusion-Exclusion Principle.

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

      Yeah, I thought about that one too. But I believe that I won't be able to implement in time.

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

      I thought that would maybe time out. Took me an eternity to get the Mobius solution to work.

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

        It won't be time out. Think about this, this principle works on a[i]/a[i+1], and the product of them is a[1]/a[n] which isn't more than 1e9.

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

        It won't time out because, you will apply factorization and inclusion exclusion stuff only when $$$a[i] != a[i-1]$$$. The prefix gcd can only change $$$O(log(m))$$$ times, because everytime the gcd changes, it has to reduce at least by a factor of $$$2$$$.

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

What was logic for C , Solved D but was not able to process C's logic.

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

    Consider the xor of the two arrays, you will notice something ...

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

    Some useful observations are:

    1. If every index is equal/unequal in both strings, then it's possible.
    2. When an operation is performed, either bit in string a, or bit in string b changes, so if all of the index were equal in both, then it becomes unequal, and vice-versa.
    3. You just have to make all index 0 in string a, let's say. So, string b can be all 0's or all 1's. If all 0's then we're done.
    4. If not, then just add 3 extra operations: (1,1) (2,N) (1,N)
»
18 месяцев назад, # |
  Проголосовать: нравится -8 Проголосовать: не нравится

How to round number in D?

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

Upvoted the contest for the story behind Problem E. I couldn't focus on the Problem, because I had to show the story to my fiancée and my brother and needed to hype it. Beautiful Daemon Targaryen. I would upvote more if I could.

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

Did anyone solve D using Euler's totient function?

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

I used about 10 minutes to think about the conclusion of problem E but used more than an hour on coding. Anyway, I think this round is the best round I've ever participated.

UPD: after I solved problem D I got rk20. :) (though my final rank is 200 :(

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

HAHAHAHAHAHAHAHA

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

Literally dying atm. Could get a grasp on D (Yes, I did think of inclusion-exclusion here and there but did not find a way to preprocess the values of the mobius function. Did I want to copy paste an overkill $$$O(n^\frac{2}{3})$$$ method to preprocess prefix sums of the mobius function? Hell no.) but couldn't finish. C felt hard, like, very hard. Might be even convinced that C > D if C was after D.

»
18 месяцев назад, # |
Rev. 2   Проголосовать: нравится +8 Проголосовать: не нравится
is it the approach for problem c ?
If A^B == 0000 or 11111 then answer exists 
Then we shift all ones to left side and zeros to right for A and do same operations for B also.
which makes A as 00001111 and B as 11110000 something like this
  • »
    »
    18 месяцев назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    The answer is only possible if for all i either a[i]=b[i] or a[i]!=b[i]. Just make all a[i]=1,you'll observe that all b[i] become either 0 or 1.If they are all 0 just do 1,n so all a will be 0 and b will remain 0,else if all b are 1 then do (1,1) (2,n)

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

    Yes. I did operations on $$$[i,n]$$$ for all $$$i$$$ such that $$$b_i$$$ and $$$b_{i-1}$$$ are different. Then $$$b$$$ consists only of $$$1$$$s or only of $$$0$$$s. The same goes for $$$a$$$. Then you just need to look at $$$a_1$$$ and $$$b_n$$$ (they did not get changed yet) an accordingly make everything $$$0$$$.

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

I always lose rating in div 1+ div2 contest any suggestions…?

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

    I guess, in div 1 + div 2 contests it is more important to solve the earliest problems fast enough (since there will be more people solving the same amount of problems, relatively speaking). Interestingly, for me it is the other way round: I always win rating in the joint contests...

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

How to solve E ?

  • »
    »
    18 месяцев назад, # ^ |
    Rev. 5   Проголосовать: нравится +11 Проголосовать: не нравится

    Take a segment. Let's call $$$C$$$ the number of closing brackets and $$$O$$$ the number of opening brackets. Let's call $$$M$$$ the minimum value the prefix sum of the segment reaches (Opening bracket is $$$+1$$$, closing is $$$-1$$$). The cost of a segment then is $$$max(0, O-C)+min(0, M)=max(0, O-C)+M$$$.

    Explanation

    You can calculate both parts of this sum for all segments idependently by iterating and doing confusing calculations. See 179633595 the two blocks after long long ans=0;.

    For me it was easier to visualise the bracket sequence as a graph of the prefix sum and then look at area on the graph which both of the terms contribute.

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

      Very clean code and solution, thank you! I knew that the solution is very clean, but did not have the skill to find it tho.

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

E was nice. Until the last 40 minutes, I thought that the first operation can be only applied to the entire string. That led to a much more complicated problem. :(

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

    Wow... I was thinking and thinking with that misunderstanding of the first operation for the whole contest. I got to read the statement a bit more carefully.

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

    Me too, I have written two brute-forces to understand that it's not the case...

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

    And I realized only after reading your comments that we can apply to any substring :(

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

How to solve problem E? The most I can do is a brute force O(n^3) solution.

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

Great contest!Congrats to the authors!Cool problem D, unfortunately I didn't solve it.I'm waiting for editoiral!Thanks!

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

Очень классный раунд, большое спасибо авторам, задача D просто супер!

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

Me After Solving A & B :')

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

Can anyone please explain how to solve problem C with intution?

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

    Consider A^B. Every time we conduct an operation A^B would be XORed by 111...1. So for a YES case, A^B would either be 000...0 or 111...1 after whatever operations. Now you just need to make A to 000...0. In the end, B is either 000...0 or 111...1. Then it's easy to make a few more operations to get job done.

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

Why the time limit of G is 3s... My FFT solution passes. It does not seem to be the intended solution.

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

Congratulations to conqueror_of_tourist for not only living up to their username, but also becoming LGM with Python!

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

Countforces

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

I wasn't able to solve A, with just looking at the problem and understanding it, I saw that in the correct cases, position 0 had an 1 or position 1 had a 2, so intuitively I went on and did an algorithm that checks that case. Too bad for me it was just when it started with 1.

But can someone explain why is it when it starts with 1? I did it so if it's 1 or 2 at the first 2 positions, i.e. arr[0] == 1 or arr[1] == 2 then yes, else then "No".

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

    before u completely look at my answer read the question once for clarity..... constraint : i < j < k 1st position element has to smaller than kth position element element at 1st position cannot be changed.... but using 1st position you can swap any positions of j and k .

    so the smallest possible element that can take 1st position must be one .

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

Problem D is similar to this problem which I proposed to codechef before.

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

Sorry, but I didn't like this round at all:
A: just one simple observation
B: just one simple observation
C: just one simple observation
D: just find number of coprime with n not greater than m (testers in comments, is it interesting? Really?)
E: closed this problem as soon as I've read. Yet another "count some *** for all subsegments"
Can say nothing about F+, because didn't read
No, don't misunderstand me, each problem is good. But as set of problems in one contest...

  • »
    »
    18 месяцев назад, # ^ |
    Rev. 5   Проголосовать: нравится +38 Проголосовать: не нравится

    I'm sorry that you found the first 2 problems of the contest(which are supposed to be easy) too easy for a candidate master / master, I will talk to tibinyte and kindly ask him to give out some smart and well hidden minimum cost maximum flow with a lot of observations and implementation details for problems A and B in his future rounds. As of C, consider it a simple observation for you, judging by the counter of solves it was just as hard as it had to be and I also needed some time to figure it out(but I might also have some skill issues so ignore me if you want). I really liked problem D because of its "smooth" solution that included some simple math and observations, so I found it interesting and I am sorry that this does not fit your view. Your argument about problem E is probably by far the dumbest thing I read on the internet today and this really means something as I've seen a lot of dumb memes today. Anyway, I am sorry that you didn't enjoy the round and wish you good luck in the next ones.

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

      First and foremost, L

      Second, this is not how you argue, this is how you correctly argue this is satire, by all means the purpose is not to offend anyone

      Dear contestant,

      Please don't worry if you had to little to no observations to pass some problems that were set to not cater to you. In a Codeforces round, the mechanics employed by some problem do not by any means determine the quality of any problem*. Apologies if this does not fit your view.

      Thanks for the feedback,

      Tester of Codeton Round 3

      *: (although, admittedly, it can determine the quality of the round as you stated-- I won't argue with that because I am not in the mood for jejune disputes)

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

      you found the first 2 problems of the contest too easy for a candidate master / master

      Where have I said this?

      consider it a simple observation for you

      It's my point: this is "one observation problem". You either find this observation->"ez ac" or you don't find this observation at all->you can't solve problem. This argument is applied to A and B

      I really liked problem D

      It's your personal opinion and I've shared mine.

      Your argument about problem E

      It's not argument, it's my personal opinion. I don't find problems which require some counting on all subsegments interesting. I didn't solve D incontest because I'm dumb, but if I solved D, I would skip E.

      The dumbest thing is "This contest is the most bad/good/... contest ever" comments without any details. I tried to share my opinion about whole problemset why I didn't like this contest. And seems that you misunderstood my initial comment. Once more: every problem is good. But you don't find problemset good if every problem is about, for example, geometry, do you?

      • »
        »
        »
        »
        18 месяцев назад, # ^ |
        Rev. 5   Проголосовать: нравится +8 Проголосовать: не нравится

        "you found the first 2 problems of the contest too easy for a candidate master / master" — I just wanted to point out that it is a normal fact that you found them easy because you have a higher rating than the people that should find them challenging, I didn't want to say that you mentioned this, because you didn't.

        "It's my point: this is "one observation problem". You either find this observation->"ez ac" or you don't find this observation at all->you can't solve problem. This argument is applied to A and B" — I find this quite common in the modern day competitive programming where problems are more and more based on tricky observations, I wouldn't say that I love it, but we should adapt to these kind of problems if we want to do CP, and if not, as we say in Romania, "ayaye".

        "It's your personal opinion and I've shared mine." — I respect that.

        "I don't find problems which require some counting on all subsegments interesting." — I get that, but in a contest(especially in a serious one with a higher stake like OI or ICPC) you can't just say that you don't like a problem, you just have to try to solve it because you wanted to take part in that competition(I will assume that no one can force you to take a contest if you do not want that).

        "I didn't solve D in contest because I'm dumb" — I know this is a bad feeling, but you probably just missed out on something, it happened to all of us, no need to be so harsh about it.

        "The dumbest thing is "This contest is the most bad/good/... contest ever" comments without any details" — I agree that this is usually toxic and people tend to say that after a round that got them positive delta, but my opinion as a tester was just that the round was good and recommended others to try it.

        "But you don't find problemset good if every problem is about, for example, geometry, do you" — No, I do not. I also recommend that you spend some time analysing the problems with editorials and realize that they are not just some combinatorics / dp problems, but also require some clever observations. Also, A-C are not counting at all and E and H are not combinatorics / dp(as I know).

        Anyway, I think we discussed more about this than it was necessary. The contest is done and others will come.

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

          Thank you for discussion!

          Just one correction: in ICPC you have wider set of topics to choose from and what is more important you have teammates. This allow you to skip/delegate some problems if you don't like it more often, than in personal contests.

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

Great contest

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

Ratings updated preliminarily. We will remove cheaters and update the ratings again soon!

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

problem : https://codeforces.com/problemset/problem/1750/D

input : 4 1000000000 60 30 1 1

output: 595458194

how? can anyone explain?

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

Personally, I think this E is very good. I can use BIT or segment tree, or even deduce the expression O(n) directly. I really like this problem

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

in problem D

if m was <= 1e6 , could we solve the problem using Möbius Function?

something similar to this problem
»
18 месяцев назад, # |
  Проголосовать: нравится -12 Проголосовать: не нравится

My friend rating is 1110 and rank in contest is 9000 by solving only problem and by rating is 926 and got 8200 rank by solving 2 questions...But the worst things my rating decreases only by 6 and my rating decreases by 28....How is it even possible.....Please help anyone

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

    You get more rating points than you should first 5 or 6 contests you participate in, which is most likely to be the situation with your friend.

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

Alsalam Alykom,My solution for A,B is skipped and i swear i didn't use ideone or another account or anything its my clear solution ! I swear to god i didn't cheat why something like that happen to me ? how to avoid this MikeMirzayanov tibinyte

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

How do I receive my money?

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

Where is my ton please?

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

How can I receive my money?

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

Has anyone received the prize yet?

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

Has anyone received their TON yet? The deadline was supposed to be on Nov 26.

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

    Hi. The wallets were collected and sent to TON. Of course, they need several days to process the data.

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

Is the team still in the process of sending prizes? Or is it already finished and I didn't receive anything due to some mistake from my side?

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

I just received my prize a minute ago. Maybe you guys will receive it soon

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

Will this round send NFT trophies? Like the kind of NFT trophy in round 1 and round 2.