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

Автор Morphy, история, 4 года назад, По-английски

Codechef January Long Challenge starts in less than 24h.

I challenge top coders to AC everything in less than 5h.

See you in the ranklist!

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

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

do you mean January long challenge? :x

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

What is Taster? O_O

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

How can I register?

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

I challenge top coders to AC everything in less than 5h.

(including both challenge problems)

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

    To clarify — in the challenge problems, even a 0 score counts as AC, correct? (Since it is relative scoring)

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

      There's an AC verdict and a WA verdict, which is independent of score. It's pretty damn hard to get so few points that they'd be rounded to 0 though.

      That wouldn't be much of a challenge though.

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

How to solve ARMYOFME?

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

How to solve ENGLISH?

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

What was the intended complexity for the solution to ENGLISH?

I saw solutions of order $$$O(n * (n + 1) / 2 * maxlen)$$$ that passed with a few optimizations

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится
    $$$\mathcal{O}(input)$$$
  • »
    »
    4 года назад, # ^ |
    Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

    Yeah, I saw some solutions using trie which I think was intended and is fast enough but some solutions seemed to be using brute force with complexity same as what you wrote. Can anyone explain the solution to this question in detail please?

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

      BRIEF EXPLANATION

      You are given N words and the beauty of a pair of words (w1, w2) is computed as min(length of the common prefix between w1 and w2, length of the common suffix between w1 and w2) ^ 2.

      Find a way to pair the N words such that the total beauty of all the pairs is maximum and it's ok not to pair a word at all.

      Hope this helps.

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

Congrats to the winners!

Div 1.

  1. cheng2014
  2. tmwilliamlin168 (He moved to the top of the scoreboard in the last day!)
  3. WHITE2302
  4. yashChandnani
  5. wrong_answer_1
  6. zhouyuyang
  7. savinov (highest score in CHEFARMY)

Div 2.

  1. cskanani
  2. icecuber
  3. tomas5
  4. amansonkar
  5. flynn_ryder
  6. hawasi_69
  7. AkJn
»
4 года назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

Are codechef long challenge div1 problems similar to ICPC problems? Or are the made to be more time consuming?

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

    I noticed some legends like ACRush solve everything in ~8h. When we have superhard problems it is solved in 2 or even 4 days.

    The main difference with ICPC (other than partial scoring) is the tie-break problem, in which contestants spend a lot of time (in some problems the winner wrote more than 2^11 lines of code!).

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

      Is there a resource for problems similar to challenge problems? Or any resources to learn how to solve them better?

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

        CodeChef has some editorials. Unfortunately sometimes the editorialist is not well versed in approximate problems and we end up without editorial.

        Also you can see topcoder marathon matches.