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

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

TCO20 Round 2A and Parallel Round of TCO20 Algorithm Round 2A are scheduled to be held on Thursday, July 9 at 07:00 UTC -4.

Both the rounds will be _rated_

Please note that you must register for this round in the Arena. Registration is now open for the round in the Arena or Applet and will close 5 minutes before the match begins, so make sure that you are all ready to go. Click here to what time it starts in your area.

Members eligible to compete in Round 2A include:
- Members who won an Automatic Berth* a.k.a Bye* for Round 1
Advancers to Round 2 from Round 1A or Round 1B

Members eligible to compete in the Parallel Round include:
- Members who did not qualify for Round 2
- Members who didn't compete in Online Round 1
Qualifiers for Round 4 or TCO20 Algorithm Finals from Online Stages 1,2 and 3

Don’t know how to compete in Topcoder Algorithm Competitions?

Check out this guide to successfully compete in an algorithm match.

You can compete using:

  • Topcoder Java Applet - You can refer to this guide here to set up the applet. (Note that those who have Java 8 installed on their machine will see a security issue — You will have to add Topcoder in security exceptions in Java Control Panel. Please refer to the details in the guide.)
  • Topcoder Web Arena(Beta) - Please watch this video for step by step guide

Best of luck to you in the Arena!

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

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

Gentle Reminder: The rounds begin in 4 hours.

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

Why is this contest not held on a weekend :(

It becomes really hard for people who are working to participate in the contest.

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

    Agree! But a lot of factors come into consideration while scheduling, however, next year we will try and keep TCO Rounds on weekends preferably. However, there's a Round 2B on Saturday, July 18 12:00 UTC -4. Looking forward to seeing you compete in one of these :)

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

Does the Parallel Round have same problems? Also, are these Div1+2 combined?

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

I don't seem to be able to register (although I got a bye, according to https://tco20.topcoder.com/competition-overview/algorithm/algorithm-byes). Anyone else having the same problem?

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

How to find the string for l=7 in problem B?

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

Not really a fan of B which involves pattern finding via program and then hardcode the pattern :( (ALL submissions in our room has a pattern string in their code)

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

what is the cutoff for being eligible in next round?

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

Exercise: What happens for L=8?

I can die without knowing it.

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

    If my computing are correct, then there is no string of length $$$n \gt 32$$$, where each substring of length $$$8$$$ is prime.

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

      Thanks, my life is changed after this information :)

      I do not know how did you validate your answer, I implemented dp solution in compelxity $$$O(4^l \cdot n)$$$ based on observation that answer must contain only digits (1, 3,7 and 9) — I think such idea can be used for bigger values of $$$l$$$ in case there is solution for each prime substring.

      I had bug during contest, but I can rewrite it fast if you have different way of calculation.

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

        Well, I just generated all $$$8$$$-digits primes, and for each of them calculated all valid transitions (if we have some prime P = p1p2...p8 then I add directed edge to any prime Q = p2p3...p8x). And now if there is cycle in graph, then there exist string each substring of which of length $$$8$$$ is prime. Otherwise, we are interested in the longest path (for $$$L = 8$$$ it's length is $$$25$$$).

        Upd. Ah, now I see that this is exactly what was written in the editorial...