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

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

Всем привет!

Codeforces Round 398 (Div. 2) состоится в субботу, 18 февраля 2017 в 12:05 МСК для участников из второго дивизиона.

Раунд основан на XIII Нижегородской олимпиаде школьников по информатике им. В. Д. Лелюха, которая пройдет в субботу в Нижнем Новгороде. Однако, комплект задач в раунде не полностью совпадает с комплектом задач на олимпиаде.

Над задачами работали KAP, ashmelev, ZhNV, kuzmichev_dima, mmatrosov, mike_live, arsor и я.

Вам будет дано два часа на решение пяти задач. Как всегда, участники из первого дивизиона могут посоревноваться вне конкурса.

Разбалловка: 500-1250-1500-2000-2500.

UPD: Контест окончен, спасибо всем, кто принял участие! Поздравляю победителей:

Div. 2:

  1. lucyanna2018
  2. Imperishable-Shooting
  3. aduiduidui
  4. Cth1999
  5. mister_dudec
  6. FallDream
  7. Illidan
  8. Alex342
  9. A.Magdy7 и TmEnd

Div. 1:

  1. eddy1021
  2. HellKitsune
  3. I_love_Tanya_Romanova
  4. vintage_Vlad_Makeev
  5. latte0119

Приношу свои извинения, мы рассчитывали, что задача B поддастся большему числу участников. Надеюсь, вам понравились задачи! Разбор будет опубликован после завершения олимпиады, примерно через полтора часа. Разбор.

Нам известно о проблеме с рейтингом. Он будет пересчитан правильно.

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

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

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

Do not thank MikeMirzayanov? DANGEROUS!!!

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

** ** *****?

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

Wait, correct me if I'm wrong (not likely haha) but if someone has a friend who participated in the XIII Nizhny Novgorod Olympiad then he could technically get some advice from him regarding the problems... Are there any countermeasure for that or should we all try befriend some novgorodians?

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

    "The round is based on XIII Nizhny Novgorod Olympiad in Informatics for high school students named after V. D. Lelyukh, which will take place on Saturday in Nizhny Novgorod."

    I assume these rounds will run almost simultaneously.

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

That feeling when you open "Contests" tab and there's this

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

SOORY,BUT THIS CONTEST MAY BE UNRATED BECAUSE CF SEEMS NOT SO WELL

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

That moment when it's holiday but you have to wake up early to participate the contest :(

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

Wish the problems to be very Interesting! ^_^

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

i hope every one have good contest and i hope the problems be interesting and have many ideas.

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

I cannot register to the round, could somebody explain why ? thanks

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

The most creative(in aspect of the difficulty) contest ever, and in my humble opinion, no other contests will beat this dishonorable record :D

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

Love the change in friends standings page! :)

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

Nice and tiny questions You can solve them with push and shove

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

What sort of contest is this. I couldn't do any. #Senseless

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

Why I can see the questions of other participants?

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

One of the best problem sets in a while. Keep it up guys!

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

I do think the legends of the problems are toooooooooooo long to read. Maybe shorter legends and clearer problems instead?

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

Hardest Div2 B I've ever seen

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

какой олимпиаде относиться эти задачи? (областной или какой?)

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

scoring distribution should be 750-2000-2000-2000-2500

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

Rating prediction for this contest could be found here or there.

Extensions:

As you could see unfortunately, it is bit difficult for my service to handle such amount of request. I'm sorry for that again, hope mirror solve this problem.

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

Имхо описание формата входных данных по задаче В было более чем непонятным. С каких пор вошло в моду разбивать ограничения на две части, то есть писать сначала "три положительных целых числа", а через пару строчек "Все времена не превосходят 1012 "? Имхо было бы правильнее и понятнее(!) написать просто (1 <  = t, ts, tf <  = 1012).

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

how to solve B

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

Someone Please tell Me What the hell was pretest 4 of div2B ?? Any ideas anyone. Wasted the entire contest reading the question and finding bugs on the same.

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

How to solve A

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

What the Fuck ? It is impossible to solve the 3rd problem in Java if u use adjacency lists.Why >>>? I get MLE for storing the edges. Is this even fair ?

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

Was B binary search? I was trying to binary search between the times of the people in the queue and took the best one out of all the gaps but I couldn't get it to work.

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

    First check if there's a time before tf such that no one is waiting for processing. Then vasya can come at this time, and wait for 0 second.

    If not, and if there are k different arrival times in input, then try to see if there's a minimum waiting time possible for the preceding time for all these k values. Additionally, check the time after all values in input are processed, if then vasya can still get his request processed, before tf.

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

      Thanks! That makes a lot of sense actually.

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

        Can't access your code. You can check my submission. I wrote comments for everything.

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

          Can you link your submission?

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

    Just check Ai, Ai - 1, ts, and after all people. (Ai is arrival time of i)

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

lucky I skipped the 2nd one for last

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

Please, someone explain E to me. I think I reduced it to knapsack but with big dimensions.

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

    You don't need to do knapsack. You always choose one of these per day: paying with notes only OR paying exactly. And "paying with notes only" can be thought that you get 100 coins and some dissatisfaction. So greedy will work. Simulate from beginning. Whenever you don't have enough coins, choose a day with minimum dissatisfaction from the past and add it to the answer. Priority queue will be enough to implement this.

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

I guess time limit for D is too strict, my Nlog(10^7) + Mlog(10^7) didn't pass.

Plz have a look and tell me if I am missing something: http://ideone.com/Tdob4l

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

Hard Problem set, but atleast now I learn how to use set :)

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

When you find out your solution to B is wrong 1 minute before the contest ended... :(

I have a feeling many B solutions will fail system testing...

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

Nice problemset. A-C were awesomem very good tasks

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

B is hardest than D

Logic R.I.P

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

Maybe it should be Div1 contest istead of Div2 ? :)

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

Guys! English!!

What the heck with problem C. I understood the problem from context, not from the description. Please don't use translators, ask someone who speaks English well to translate statements.

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

Was problem C greedy tree dp? My approach was to find a subtree of weight of dp[root]/3 and remove the weight of that subtree from its ancestors' weights. Then I try to find another subtree that has weight of dp[root]/3 and we are done.

Code: Link

Is this approach correct?

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

How to solve C? I am getting WA on pretest 8 and 10.

My approach -> If totalheat is not divisible by 3 return -1. Check if we can find two subtree of totalheat/3 then return those 2 values. Check if we can find a subtree with heat totalheat/3 and and it's parent with heat 2*totalheat/3 then return parent and that node. Else return -1.

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

The problem-set was nice, but I feel that the difficulty levels of the questions was jumbled up. I found A<D<=C<B<E, in order of increasing difficulty.

RIP Rating

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

Can someone tell me why printing 16 gets WA on problem B pretest 2? I think I miss something in the statement but it says: "If the receptionist would stop working within t minutes, he stops serving visitors (other than the one he already serves)."

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

Now you know why there are 8 writers: we need people to draw the cartoon and to write stories. :P

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

398 (Div.2̶ 1)

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

i am not sure if this was a div2 round or div1 round sorry to say that but it was one of the worst rounds i have ever seen here

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

good contest for DIV I contestants, Div II contestants RIP

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

My first DIV1 contest.

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

C was awesome...D was a little easy for a D problem (they should have been swapped)

I didn't read B but judging of the number of people who have solved it it must be really hard for a B problem

The statements were rubbish..they were way longer than they needed to be (that's why I didn't solve B...skipped it after seeing the statements)

But all in all the contest was great.

(don't downvote me guys it's just my opinion)

:)

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

It so frustrating when you solve problem but can't pass tests because standard reading method, you used all the time, doesn't read fast enough for this input. I have linear time solution for C but probably reading method I use in my C# solution too slow. Now I think that string.Split() is just too slow for this problem. Don't enjoy such contests.

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

    I have the same I/O timeout problem for problem D also for C#. Spent the entire contest time trying to figure out why I am getting timeout on test 9.

    I also don't welcome this situation. The official answer was that "It is not guaranteed that a solution exists for all languages". Well, c'on... I have seen some folks with solutions in C++ and still getting timeout on test 9, probably for the same reasons (since some are Div1).

    I would like to thanks the organizers for setting up the contest of course, really enjoyable, but cannot but feel disatisified with taking a big rating hit for trying to solve a problem which is unsovable given the time limits without optimizing I/O.

    Really, this is a known issue. My opinion is that the limits should have been increased to 3 or 3.5 seconds to allow for such reads. This will still not make an n^2 fit but will allow enough time to I/O...

    Didn't even have time to read the others except B (which also has a very long text...). My opinion is that weather this particular contest should be rated should come into question.

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

Am I the only one who practice translating hardly?

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

Lowest solved, highest wrong answer :P "long live 398 Div#2"

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

Be stucked in Problem B. RIP my rating. :<

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

Contest should be unrated.

Bad translations, long statements and very hard B.

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

Olympiad Student 1 pass : olympiadolympiad

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

is it rated?!

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

Vote here. They can make contest unrated.

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

Fastest Systest ever... no wonder, since there was so low total number of submissions.

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

How to solve E?

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

4 6 2

0 1 1 1

2 2 2 2 2 2

Are cases like these not in system tests? At least two of my friends will output -1 for this test but I believe all the cartons of milk can be drank, right?

In fact, my friend will fail if there is no 0 in the first line but a solution still exist. This apparently is not in the systests however ==

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

A. Pretest 5 should be a systest! There should be more possibilities to hack.

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

problem B test case 3 :

input:

7 14 3

2

1 2

output:

13

answer:

0

statement says :

The receptionist spends exactly t minutes on each person in the queue. If the receptionist would stop working within t minutes, he stops serving visitors (other than the one he already serves).

my output should be correct

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

System test gives WA for all submission for problems D &E

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

WTF is wrong here, it says my D is accepted but in standings it seems like it failed — http://store.picbg.net/pubpic/6A/71/96070172827f6a71.png?

UPD: That's the case for everyone, now I see...

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

I do not know why everyone says that problem B was difficult, it was just a simulation and greedy, for me it was more difficult to solve problem C

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

This was the worst contest for me — I began with C, did it. Then tried D, but failed on some pretest. At this point I had just 20 minutes left, so I went back to A and B. I got A, but with a very low score, then wrote B. I had a small bug, which I found. I was just about to click submit when the contest ended(I had already selected the file). In the end, my C fails system test. :(((

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

I've got a question. This is test 4 for B problem:

30 70 10

3

30 32 35

Why is the answer 60? Isn't the queue supposed to close a tr — 1 = 69?

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

    If Vasya visits at t = 60, Vasya is served from t = 60 to t = 69 which consists of 10 whole minutes. So the reception can close at tf = 70.

    so that (tf - 1) is the last minute when the receptionist is still working

    By this, the receptionist still works at t = tf - 1 = 70 - 1 = 69.

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

What's going on with the standing? They are giving fail in spite of passing? NVM, it got fixed

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

What kind of time limit has been set for the 2nd problem ?

What fool did it ? Who is this foolish person who set this problem ?

Submissions :

  1. Java (During the contest), MLE : http://mirror.codeforces.com/contest/767/submission/24771836

  2. C++ (After the contest), AC within 1310 ms : http://mirror.codeforces.com/contest/767/submission/24775207

Such a negligent attitude is rather bad, and I dont think deserves a place on CF. The two codes are 150 % identical, expect they differ only and only in language .

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

    Dude think before calling the problem setters foolish. They are doing this voluntarily and you should be thankful to them instead. Sometimes there are some negligences, but you shouldn't call them foolish at least.

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

Is this proper test for B? Is only Vasya can come at midnight (at time 0) ? 0 7 2 4 0 0 0 6

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

Каждого оставившего коммент к этому посту мистер дудец благословит сильными претестами и понятными условиями, но только если вы напишите "спасибо мистер дудец".

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

I was deceived by the unusual input of C which is tree data

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

In problem B, for the 3rd pretest:

7 14 3
2
1 2

My answer was 13. Why is it wrong? In the condition it states: If the receptionist would stop working within t minutes, he stops serving visitors (other than the one he already serves), so I assumed that means he should enter before tf but doesn't need to get out before tf. Either I'm missing something or the condition was wrong.

Whoops, someone already posted the same question, sry.

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

In problem B This test case: 7 14 3 2 1 2

The output of the judge is 0 however i am printing 13 and he tells me wrong why he can come at min. 13 noone is there so he can enter as the 2nd one finishes at min. 13

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

Что-то явно пошло не так, но чтоб 0 решений на Д и Е... Это было сильно.

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

    Оно почему то не отображается, нажми на попытку просто любого у кого горит красный минус, и будет написано полное решение. Я бы даже сказал что Д задача была самой лёгкой здесь.

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

 I got 17th place, but it is showing that I got 49th place.

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

That moment when only A is accepted but I have new best rating lol.

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

MikeMirzayanov Rating change is weird.

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

Why does it say I am in position 656 or so if I'm in position 97? My rating went down when it should have gone up. Please help

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

Why is everyone's D on the scoreboard wrong?In status I see I have accepted it.But the rating have changed according to the scoreboard .

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

MikeMirzayanov how come the same test case pass in the pre-test and fail in the system test, my solution is anyways has a bug but I'm just curious.
http://mirror.codeforces.com/contest/767/submission/24762072

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

Cheaters On Problem D:
Hasan: Submission
M.A.H.M.O.O.D: Submission

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

hi .. there is a problem in standing now .. my soultion for D is accepted and apper on my standing -1 !! and i haven't points and my rate is decrease !! how !!??

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

on the contest standings it says that I ranked 103(without unofficial participates) but on my profile it shows that the last contest I did (#398) I ranked 289

Can somebody look into this because it will effect my rate a lot ?

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

Seems the problem with D&E standings display also affected the rating changes... Is there anyone fixing this?

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

Ahhhhhh,What's the matter? I think my rating is too high.

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

my submission of problem D showed accepted in "My submission",while the final score is calculated without the score of problem D. what is the problem?

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

Question C: That moment when you realize that abs(1/3 * total) < abs(total) doesn't hold if total = 0.

EDIT: total -> abs(total)

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

When you solved 1 problem but your rating still increases

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

I want to know why my rating -48,In this conteset my rank is 124, but the profile's rank is 980,why ? Sorry,my English isn't well

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

this happened because you didn't say thanks to MikeMirzayanov

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

Strange rating change. It seems like problem D is not considered.

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

странн, в результатах у меня 156-ое место. А тут написано 447

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

Problem B statement is wrong.
"If the receptionist would stop working within t minutes, he stops serving visitors (other than the one he already serves)."
I submitted without considering above statement, my solution got accepted.

»
9 лет назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится
More points but less rating increase
»
9 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится -38 Проголосовать: не нравится

.

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

Please, next time spend your energy on writing more clear problem statements instead of drawing pictures to all questions.

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

well, feel lucky not to compete in this round- - seems easy but actually…er…you all know now.

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

How is the rating calculated? I ranked 21st in the contest,but the rating dropped by 20! I'm the only one whose rating dropped among the top 88 people,including those whose ratings were initially higher or lower than me.In particular,there are many people whose initial ratings were higher than me,scored lower than me in this contest,but their ratings rose sharply!How could this happen?

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

We know about the issue with ratings, they will be rolled back and then updated properly. Don't worry.

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

In pC, when I hacked others with 4 0 1 1 -1 2 1 3 -1 The verdict of the hack is an unexpected error...... Just wonder whether this kind of testdata are already in the system test or not...

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

 Why rating changes is not logical ....

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

why? same original rating , higher rank,lower rating? feel sad QAQ!

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

LOLImage and video hosting by TinyPic

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

The problems D&E were even not considered in standings on my IE ,but fortunately now it has been fixed .Just waiting for the fixing of rating changes now .

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

Вроде задачи, как на Олимпиаде, но другие ограничения. +Разбор тут, насколько понимаю, раньше разбора в Нижнем Новгороде?

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

Hard but interesting problem set. Thanks for your work and I also appreciate the strong pre-tests!

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

Can someone provide me some good questions for practice on DP on trees.?

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

KAN How this Code get AC ?!
test:

3 1 2
1 1 1
2

Code Output :

-1

Expected Output :

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

I think score distribution should be change

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

KAN
How can this code http://mirror.codeforces.com/contest/767/submission/24788498
24788498 get AC test case
5 20 4
4
0 0 10 14

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

Wow! I got three 98 in Codeforces Round #398!

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

i think the problem is good , not only degree of difficulty , but also the trick . forever , the difficulty classification is so bad , the D is easier than B and C i think A D B C is better than the round .

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

Solution for B: ~~~~~ ~~~~~

long min = 0;
        long mins = ts+t;
        int pl = 0;
        for (; pl<n; pl++) {
            if ((ts+(pl)*t+t<=tf) && (ts+(pl)*t+t-(mas[pl]-1)<mins))
            {
                mins = ts+(pl)*t+t-(mas[pl]-1);
                min = mas[pl]-1;
            }
        }
        System.out.println(min);
So easy...
»
9 лет назад, скрыть # |
Rev. 3  
Проголосовать: нравится 0 Проголосовать: не нравится

I wonder why this 24795199 got WA. I need help.

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

I found a test case which is
6
2 -1
3 1
0 1
3 -1
4 1
5 -1
Both my friends passed the problem, but have different output,
their submission are 24775420, 24775421
the first one output 2 5, which I think is correct, and the second one output -1
Do the sys test miss the test case like this?