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

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

Hey All!

Topcoder SRM 767 is scheduled to start at 07:00 UTC -4, Sept 18, 2019.

Problem Writers: Arpa and minimario

Registration is now open for the match in the Web Arena or Applet and will close 5 minutes before the match begins.

Good luck to everyone!

Topcoder Java Applet | Next SRM 768 — Sponsored by Google — Oct 10

Some Important Links

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)
  • Проголосовать: нравится
  • +15
  • Проголосовать: не нравится

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

Ok, so you tell me that timestamps in easy were not sorted? Suuuuper -.-

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

    No excuses. You're told to validate the input and it's also mentioned in one of the sample explanations.

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

      Who reads explanations of all samples if your code passes them? It seems I was not the only one to miss this since like half of participants was hacked on this problem and this is just plain stupid.

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

        I don't think many people were hacked on this. It's much easier to miss that last <= a, last1 = last2 if a1 = a2 and last1 <= last2 if a1 <= a2 aren't sufficient conditions — for example, I missed it at first and I imagine it constitutes a large number of hacks. Then come the conditions mentioned in samples and various silly bugs.

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

And, wtf was that med?

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

Sorry to be a hater, but I think this is one of the worst topcoder SRMs ever in terms of problem quality

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

The shit was this?

To clarify: Dijkstra isn't a medium problem in ${CURRENT YEAR}. Hard wasn't all that bad (it required actually thinking, wow) but annoying to code. 250 is just difficult to understand, apparently for the author too. My result before resubmitting medium (350 -> 130 points just because I used long long once but forgot when rewriting stuff) is worse than my result after challenge phase and that's worse than after systests even though I maybe-failed 250.

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

Oh, and most stupid bruteforces you can imagine passed to hard as well :). Cause it is kinda impossible to hack it, especially since you made it so that f[i] = w[i+1] :).

EDIT: Whoops, I have not read that solution I was talking about carefully. It is brute+opt that Jatana mentioned

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

Dijkstra isn't a div1 medium problem. Div1 450 has a linear-time solution and the intention of the author was to let only O(n) solutions pass. Apparently, a few of the O(n log n) solutions managed to fit into the time limit anyway. This was not intended.

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

My div2 1000, failed with Dijsktra, why ?

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

Got AC on 1000 with the following algorithm:

Perform just what said in the statement.

Optimization: if we are staying in the vertex v and the current amount of fuel is f and for some previous query we had less fuel and we were able to reach the root then break.

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

Anyone else have issues with hacking? Is this just an issue with the web arena?

Why is there both lowercase and uppercase n's in the pseudocode? (And why no sample explanations? At least provide the answers for each query :|)

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

After discussing the issues with the round we decided that Division 1 will not be rated. We deeply apologize for the issues.

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

Btw, I may rant at topcoder and its tasks for many reasons, but actually I would be very happy to see its improvement in the problem quality (both in the interestingness and in the quality of preparation), so I would suggest the following.

If an input to the problem is given as a generator, provide this generator in the copy-pasteable format. It is a pain to always spend a minute adding semicolons, changing "modulo" to "%", adding parentheses and modifying loops. And then spend a minute thinking whether there is no overflow which may be tricky even for those who have define int long long in their codes since these computations are performed on function arguments which could be just ints.

95% of contestants use C++, but it shouldn't be much of an issue adding them in all available languages, right? That would be very helpful, especially if you are going to make bugs/typos (N instead of n) in your generators and if your generators could give segfaults (par[1]=0, w[1]=B, whereas n=1 is possible).

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

Hi all.

I'm sorry for the problems occurred in the contest. Even now, I don't know what happened in 250 (Div. 1).

Here is the editorial. I'm currently improving it. You can put comments, I'll answer.

I promise I'll hold another round and remove this bad memory.

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

All these Red handles together, who is manning NASA headquarters

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

Codeforces < Topcoder