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

Автор GreenGrape, 9 лет назад, По-русски

Привет, Codeforces! Давно не виделись :D

Codeforces Round #461 состоится в среду в 20:15 по московскому времени. Обратите внимание, что раунд чуть позже, чем обычно.

Раунд будет рейтинговым для участников из второго дивизиона. Первый дивизион тоже приветствуется, но вне конкурса :)

Спасибо Коле (KAN) за координацию раунда, Грише (vintage_Vlad_Makeev), Олегу (xen), АмирРезе (Arpa) и Сене (craborac) за тестирование и, конечно, Майку (MikeMirzayanov) за Codeforces и Polygon. Отдельная благодарность отправляется Диме (Dmitriy.Belichenko) и Камилю (pseuda) за идею одной из задач.

В этом раунде вы будете помогать игривому монстрику Импу. Не пугайтесь, условия будут короткими!

Задач будет шесть со следующей разбалловкой:
500 — 1000 — 1250 — 1500 — 2000 — 2750

Удачи!

Обратите внимание, раунд перенесен на 40 минут, чтобы избежать пересечения с раундом на CSAcademy.

UPD. Контест закончен.

UPD. Системное тестирование окончено! Разбор.

Поздравляем победителей!

Div. 2:

  1. sorry-haghani
  2. I_hate_Shadow_Light
  3. SashaShlyapik
  4. Pojiloy_gibon
  5. Marisa

Div. 1 (unofficial):

  1. dotorya
  2. Vercingetorix
  3. dreamoon_love_AA
  4. kmjp
  5. Anadi

UPD. Выложены разборы D/F.

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

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

Really loved your last round but hopefully this time, there will be a better difficulty distribution in the problems!

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

Возможно, там опечатка. Грише*, а не Гришы. Извините, что докопался :)

UPD: исправлено.

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

Когда в ближайшем будущем не завезли раундов в удобное время...

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

codeforces contest is always great and amazing , my bad , may be i will not be able to attend this contest due to travelling , missing it so much :( :( :(

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

codeforces contests are always great and amazing , i always try to attend the contests , but my bad , may be i will not be able to participate in this contest due to some travelling stuffs , and it is much painful for me , competitive programming is my passion

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

Ohh god CM problem setter again.

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

The names of the problems will be about colors of grapes?

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

Is there a relation between the name of the problems and some colors of grapes? :O :D :)

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

Is it rated?

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

Obligatory comment: "Hope the problem statements are as short as the announcement"

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

Have seen you being quite responsive in the last contest. Keep up the good work, and well, wish a quality and balanced contest ;)

P/s: Yup, I still can't figure out the most optimal income when using Perun's ult xD

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

xen

Хоть кто-то живет в 2к17 году.

PS. Если что я говорю о GreenGrape.

PSS. Если вы еще не поняли нажмите на xen

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

Thanks a lot for this timing

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

Oh... This contest is even later than others T_T

Too bad I can't enter it because of... time zone problem...

Wish you guys good luck and high ratings anyway ^_^

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

Этот раунд рейтенговый?

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

I hope my rating will be more than 1900. Then this contest is unrated for me. I don't like rated contest. My rating will down if I don't do well in this contest. CONTEST, CONTEST and CONTEST ... RATING, RATING and RATING ... TRAINING, TRAINING and TRAINING ... ......

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

Thank you guys, who create codeforces contests. They have really interesting problems. Live long and prosper. :)

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

Good luck to all

let's see, can i be a Candidate master at the end of this round or not ...

wish me luck... :)

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

So sad that magic is over, can't troll with different colored grapes anymore :(

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

I wondered what is different from participant division 2 and division1

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

really awesome, wait for some blossom

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

A prime number contest!

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

not u again

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

"Yet the statements are guaranteed to be short :)" this is the best announcement so far.

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

Yet the statements are guaranteed to be short :)

Thank you very much:)

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

"Не пугайтесь, условия будут короткими!"- то чувство, когда раунд не от adamanta...

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

Unusual early scoring!

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

"Codeforces и Polygon"

Learning some russian.

Learning everywhere. :)

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

Hope another great problem set from this amazing head. Big chance to rise up. CF is too good to stay away from. :)

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

Can anyone help me with one problem? I have good answer on test 2 on my computer, but on codeforces I get WA no matter what I do. Obviously compiler settings or something isnt same. Just visit my problem and check last submissions, problem C from few rounds before. 34983468

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

It's quite strange no one noted that this round coincides with CSA round #68 tomorrow! Can't you just delay it 30 more mins? GreenGrape

UPD: the contest is delay 40 mins!

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

Glad to hear this: Yet the statements are guaranteed to be short :) Looking forward to it !!!

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

How to download Test #15 of 650C Table Compression?

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

    Okay, this should be the last time I see this anywhere.

    You cannot do that. At all.

    (Well, except if the problem setter provide the full package publicly).

    For convenience, all test cases are compressed in case they are too big, so large input/output files are near to complete omittance.

    Usually, if you get stuck with a big tests, it can only mean a few things:

    • You ran out of memory (MLE verdict).

    • You ran out of time / your algorithm was too complex (TLE verdict).

    • You handled the undefined behaviors poorly (WA/RE verdict).

    These tests are mostly used to tests how a code works against large input streams, and not to be corner cases, so please check your own source code for places that can be optimized, not just spamming the blogs all the time.

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

Normal guy's Imp.

Codeforces member's Imp.

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

Is it legal?

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

I am gonna solve A, B and C today !

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

Wow :O Rounds

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

Two line summary of the announcement :
1. The statements are guaranteed to be short :)
2. There will be six problems with the following scoring: 500 — 1000 — 1250 — 1500 — 2000 — 2750

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

The time is a little late for me,but I am still glad to take part in the round.

It's really a good chance to train myself. :)

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

I just want to say it's too late for Asian contestants . Hope I will stay alive for being such late......

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

Hope I can become Expert!

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

Sanwli saloni, adaayein manmohni Tere jaisi beauty kisi ki vi ni honi Thande ki botal main tera opener Tujhe ghatt ghatt main pee lon Coca Cola tu ROUND GONNA BE AMAZING !

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

i think i will be green this time,thank you GreenGrape.

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

is it rated??

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

can't wait.....

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

Again a round with near 7000 participation :)

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

I hope the long queue is fixed before the contest starts

»
9 лет назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится
How's this possible?!
»
9 лет назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

very long queue in hacks

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

HackerRank will be proud of this contest

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

I think this contest are more "Successful hacking attempt" messages than "Accepted"

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

A round full of hacks. Even one of my friends hacked me, nice contest

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

Hackforces in a nutshell...

Anyway, to be serious, maybe it was just me, but I think the scoring is still a little bit underrated. This should be 500-1000-1500-1750-2250-3000. C is sufficient to be called a Div2C, D is somehow quite twisted (got 4 WAs verdict on the 4th problems, all on pretest 4).

Not really sure about my opinion about E and F, coz' I have just read it for a short while.

After all, it was fun actually. And these Imps are just cute ^^

UPD: I took my words about D back. Somehow I wish I could think sharper...

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

Can someone please provide explanation for third testcase of problem E.

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

Problem D is solvable with radix sort?

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

    I just used normal sorting with a comparing function that returns numS[a] * numH[b] > numS[b] * numH[a]

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

      Hell man! :'( I tried to do it with normal comparison too but that condition didn't pop up to my mind! How can you prove this works ?

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

        Given a string s, denote f(s) to be the number of subsequences 'sh'.

        Now given strings s1, s2, ... sn, it is easy to prove that if we denote xi, yi as the number of 's' and 'h' in string si, that .

        To maximize our desired value, all we need to look is the value .

        For n = 2, it's trivial that the comparing function wewark described works.

        We will induct on n — say the comparing function works for n and we prove it works for n + 1.

        Clearly, , as after deciding which sn + 1 to choose, we are left with optimizing the value with n strings. (induction hypothesis is used here)

        Now, all we need to do is prove that we need to put sn + 1 as the string with the highest value. This is simply greedy, easy to prove.

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

The 1st problem made for the hack..

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

Idea behind C ?

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

    For small Ks (probably <= 1000) you will find two exact values, so just implement

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

    just do it with brute force :)

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

      Ok. Limits are very large so how do you guarantee fast running time ?

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

        it will find a pair soon

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

          Thats what my questions is. How to prove that ?

          • »
            »
            »
            »
            »
            »
            9 лет назад, скрыть # ^ |
            Rev. 2  
            Проголосовать: нравится +7 Проголосовать: не нравится

            It is known that (a very important consequence/equivalence of prime number theorem) .

            For n, k to be good, (n + 1) must be a multiple of . So n must be like ek.

            This should be good enough, as running time is .

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

              Or, say primes >10 will multiply, so it be over 10^18 fast...

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

              Bruteforce works. :)

              This was my approach.
              gcd(1,2,...,k) = 1

              Therefore, lcm(1,2,...,k) = 1*2*3*..*k

              Also, since the remainders have to be distinct, one observation is that for any i between 1 to k, n%i should be equal to i-1.

              This means: n = i*C + i-1 ==> (n+1)%i = 0.

              Therefore n+1 should divide all the numbers from 1 to k. This also means that n+1 should be equal to the least common multiple of 1,2,..,k (in this case its just the product.) or any multiple of this lcm.

              Looping from 1 to k and stopping the loop whenever product crosses n+1. Product crosses n+1 easily by the time we reach i=50 in the loop. We return "No" in this case.

              If k! is equal to n+1 then we return "Yes"

      • »
        »
        »
        »
        9 лет назад, скрыть # ^ |
        Rev. 3  
        Проголосовать: нравится -7 Проголосовать: не нравится

        try this

        bool f;

        int top=0;

        for(int n=1;n<=100000;n++){

        for(int k=1;k<n;k++){

        f=true;

        for(int i=1;i<k&&f;i++){

        for(int j=i+1;j<=k&&f;j++){

        if(n%i==n%j)f=false;

        }}

        if(!f){

        top=max(top,k);

        break; }}}

        printf("%d\n",top);

        just look at the output and you will find out why it is possible to do it in brute force

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

    People have this idea:

    Since you need to have all unique values till k. They should be obtained serially from 1,2,3,..k like this: 0,1,2,3,4,5...k-1

    so, n should be of the form: 2x+1, 3x+2, 4x+3, 5x+4, 6x+5, 7x+6,... all at the same time. But if something is of the form 5x+4 .. it cannot be of the form 2x+1 .. (coz one is odd and other is even, for even x, similarly chose a pair for odd x)

    Edit:

    The conclusion seems flawed. Maybe we can continue the logic like this:

    Number has to be of form: 2x+1, so 3,5,7,9.. 3x+2, so 5,8,11,14.. ... ....

    It kind of creating a sieve of eratosthenes, which generates a prime number.

    I don't what that gets us :)

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

Locking after being hacked

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

how to solve D?

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

What was the hack for A?

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

Problem A just burn my room

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

What is wrong this this solution for E?

Let dp[i][j] be the max mana we have at tree i with j summoned in the trees before us. The max capacity is always w + j·b for a fixed j so we don't have to store that. I used long long int here and for dp table so no overflow. The answer is the largest i such that dp[n][i] is valid. I kept getting WA on pretest 5.

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

How to solve B? Seems easy cause lot of people solved it, but I only solved C and D.

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

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

Test for hack C: 1 2

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

How to solve F? I tried taking all N numbers initially and consecutively removing the one which will decrease f(I) the most but such that f(I) ≥ k will remain true. Just plain intuition, didn't work.

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

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

In question D, what is the pretest 4?

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

I think there should be a limit on the number of hacks for each problem... Yeah hacks are a part of CF, but when a hacker with ABC has more points than a non-hacker with ABCD, I think there is a problem.

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

Can anyone give me some idea for 922F - Divisibility

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

can someone help me find why i was hacked in problem C? 35018691

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

Short statements not means a lot of hacks.

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

This was the biggest slaughter since I started to participate at contests

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

omg, it was great. hope i'll see you contests later. GreenGrape, live long and prosper.

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

When will the system testing start ?

Update: System testing started :)

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

When someone asks how life is going on?

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

While everybody is discussing today's contest, I just found my love <3

Thanks Mike :)

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

Isn't it obvious that current hacking system sucks? It's a brilliant idea, but really bad realization. Hacking should give you points (maybe even more than 100) if you find hidden not obvious bug in someone's code. But if you just take n = 0 corner case in div2A and it gives you 1500 points that's so unfair: you get that much points not because you are smart or your debugging skills are better than average, but because you have gray guys in your room who always do this mistake.

That's why I think that hacking points must be not a constant, but a function, which depends on how much hacks there are on the problem.

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

Many among you would be disappointed because of all the hacks, but I feel that the problems were super exciting and I enjoyed all the brainstorming while getting hacked.

+1 to GreenGrape

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

 I don't know why, but my submission got stuck at test 39 for last 10 min.s. I am on page 6 of filtered list

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

When you find one of the testcases for A  hackerman.jpg

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

I think that there is a problem with D testcases. This is my AC submission.

The problem with my solution is that the comparison is made entirely on integers, and therefore it could overflow.

I'll try to generate the testcase, I think that:

2
sssss...ssssssh
hhhhh...hhhhhhs

is enough.

EDIT: oh yes, I think it was enough. My solution gave 50000, but when reversing gave 2499950000. I don't think I'm the only one who failed for this.

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

long long contest! #define int long long accept my C and D :)

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

Can't believe my STUPID code for C got pretests passed even and finally failed on test 76th!!! I used k instead of i in my loop.

Failed.

vs

Accepted.

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

Couldn't proof the solution for C during the contest. But now, I think I got a proof.Correct me if I'm wrong plz.

If the answer for n is "yes", then for all i from the set [1,k] will have distinct remainders.

We can easily see that for all i [1,k]

n mod i == i — 1,

so, we can say (n + 1) mod i == i == 0 ;

That means all i [1,k] must divide (n+1) simultaneously.

Which means (n+1) must be divisible by the lcm(1,2,3,........,k).

Now the lcm(1,2,3,.........,k) would be > 1e18 when k is > 41(or something) .

That's why the brute-force solution worked.

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

ohuenniy round

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

who is sorry-haghani ?!

Haghani ...

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

Can anyone explain? :( 35036774 35011492

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

Solving the B in O(n^3) no problem... i would say a O(n^2) solution was intended but anyway: http://codeforces.me/contest/922/submission/35039399

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

 Hello, world!

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

Ironically,GreenGrape has never been green in his/her entire Codeforces history.

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

Why is my code giving runtime error on test 5 in D : Link

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

This was one of the best and most interesting contests on codeforces that i have given. So much of hacks and good difficulty distribution i should say ,awesome GreenGrape

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

раунд очень годный был

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

GreenGrape has never been Green on Codeforces.

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

I don't understand A number problem. please, anyone, help me to understand this problem. problem link : http://codeforces.me/problemset/problem/922/A thanks

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

http://codeforces.me/contest/922/submission/35048494 why i am facing runtime error thanx in advance

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

Problem B, O(n^3) without pragma 35154154....using pargma only make it a little faster..35129118

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

In Problem B, why (1,2,3)is not a valid set?