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

Автор poerhfsdhfnc_h, история, 6 лет назад, По-английски

I think very rarely it happens that the questions asked on the codeforces contests are available on google. But today's contest was a blunder in that aspect. As you must have already seen in the comments of the announcement blog that problems B, C, and D were available on the internet. "Participants should be ranked on the basis of how fast they solve a problem rather than how fast they search a problem". Now someone will say that even in ICPC you are allowed to copy from the net. You are allowed because you can copy some templates but you won't get direct solutions coz questions are unique. I don't have any issue with geometry problems and no one should have because we are here to learn cp and cp also includes geometry problems. But I believe that duplicacy of questions should never be promoted on codeforces and therefore today's contest is one of the very rare bad contests on codeforces platform. Sorry if it hurts anyone :(

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

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

Can you please share the links you think the problems are copied from?

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

Also, for problem D, I'd say timelimit was a bit tight(should've been at least 2 seconds). An average solution takes 1 second. Then, timelimit should be that double amount(which is 2 seconds). It was a bit unfair for other languages(apart that my solution was O(n*log(n)^2) which timed out and could've passed in a timelimit of 2 seconds).

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

Agree.

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

The contest was just fine according to me. Nothing great but not bad either.

B is so easy to think, why would anyone go and search for it. Its just a waste of time.

Also I am fine with such basic geometry problems for C. I didnt know they were easy to google since i tried to find hints for C2 but could only find solution for hexagon.

For problem D, it requires you to actually think that BIT and binary search would work, only then would someone go and search for it on the internet.

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

Googling is also an ART imo.

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

I want to bring awareness to a big issue with problem D. This kind of memory limit is far too strict. Just reading the input uses up more than half of the available memory, this kind of limit is far worse than having a tight TL to kill off O(n log n) solutions.

For one thing it adds nothing but frustration to the problem, even if it blocks some kind of unwanted solutions. Secondly other languages like Java or Python need a certain amount of memory just to run. For example

This means that you are left with just a speck of memory to solve the problem with. After a ton of work, trying out manual IO and manual calls to the garbage collector, 20 submissions later I was able to get AC in PyPy3 80530828.

I don't think problems with constraints like these should be in rated rounds.

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

After the contest, my friend sent me this link : http://mathafou.free.fr/pbg_en/sol118.html Scroll to the bottom and you have direct one line formulas for both C1 and C2. It's the third result from top when you google "largest polygon that can be inscribed in a square".

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

For second question , i didn't got any such question on google but, could easily be converted into question of minimising distance between elements of 3 arrays. So yeah, if i search the other way around it was direct answer.

»
6 лет назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +5 Проголосовать: не нравится
  1. Have some courage to be real instead of using alts
  2. It looks like you screwed today's contest, so you shouldn't give opinions due to your personal reasons :)

This was an educational round.

Obviously we would encounter problems based on class algorithms data structures as well as rare math topics.

If you were expecting common things like the number theory greedy or graph then it's your problem :)

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

I want to say a couple of words about today's D.

First of all, I would like to apologize to non-C++ coders for setting a tight memory limit. The reason why I did so is to get rid of straightforward PBDS or prewritten treap solutions (a treap, for instance, would require just something like 32 megabytes, hence the memory limit).

Why did I want to do so? Because the problem was not initially designed to be a data structure task. I wanted to give it on a local contest where people were familliar with binary search, but not with Fenwick/STree, so it seemed like a non-trivial binary search. I thought that most contestants would try to think about an easier solution instead of just writing or copying a data structure, but it turns out that I was wrong.

By the way, the case with B is almost the same: I wanted a solution without any complex methods such as two pointers or binary search, just simple observations.

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

After getting to know that B,C and D were easily google-able. What should I do from next contest onward? Should I first search for problems on internet as soon as I see a task that can be found on internet or should I solve it myself investing a lot of time ? Second leads to significant decrease in rating . What do you think ? Also I vote of this recent Div2 to be unrated !!

I know people will downvote for no reason ! This round educated me about how can effective googling give you ratings, thus Educational round ! cheers !

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

    The answer is very easy and simple.
    Just google. Get one positive delta. Stay happy with this because you won't be lucky all the time. Then RIP after ~50+ years while narrating the story to your grandchildren how you got lucky once on codeforces.

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

    I think there are a lot of people here who are just here to improve themselves and learn rather than just having a positive delta. I have participated in all the contests since I have been active no matter how many questions I am able to solve. There has been contests where I have not even solved 1 question and got a huge negative delta. But that should not matter to you if you are here to learn. The point is you should at least try. Writing a solution after googling a problem and writing a solution on your own are two vastly different things. Googling a problem might give you great delta, but in my opinion solving a problem on your own is more satisfying. You can always check the editorial after the contest and up solve the problems. I don't think I have ever googled a problem from any of the contests I have ever participated in. I honestly don't know much difference between Educational rounds and normal rounds, but still I think you should give problems a chance and try to solve them first. People here are telling B, C and D were google-able but still many of us have not googled them and just tried to solve it on our own. I am not against googling problems, but for beginners like me, I think trying it on our own is much better.

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

"...even in ICPC you are allowed to copy from the net"

Well, good luck doing that LOL

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

Imo D was a really good problem for an educational round. I am quite inactive on CF and don't know if this thing is trivial but an extension of Fenwick to do binary search + query in log(n) time is in my this year ICPC codebook and my teammates would have removed it if it was so trivial.

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

Maybe problem C wasn't good enough, but i really enjoy solving E, F, G. In my opinion, you can't judge contest based on 1 or 2 easy tasks.

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

    For the majority of rated contestants, (the majority being Expert or below), problems C and D are the hard but solvable ones whereas E and beyond are too hard to solve within contest. So it's fair for a rated contestant to judge a Div2 contest based on problems A,B,C,D.

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

Is there an editorial for this contest? I'm pretty sure I had the right answer but my doubles were imprecise or something like that so I kept on getting like .3 off of test case 3 in sample C1 (n = 200), although it may be my incorrect logic (my solution was 1 + 2 *( diagonal length of 2(n-1)gon))

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

Is it bad really. I think it's rather fine