the_badcoder's blog

By the_badcoder, history, 7 years ago, In English

The replay of the LU Inter-University contest is going to start on August 2nd, 2017 at 7PM BDT and will run for 5 hours.

Contest link: Link

Problem setters for the contest are: jAckAL_1586 Tanzir5 fsshakkhor TarifEzaz Spider004 tahmedge nurlansofiyev Punter I_See_You Kitorp

We hope everyone will find the problems very interesting to solve. Good luck and have fun.

Thanks. Contest Is Over.

Top 3 are:

1) lexuanan

2) sahedsohel

3) Matrix.code

  • Vote: I like it
  • +31
  • Vote: I do not like it

| Write comment?
»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by the_badcoder (previous revision, new revision, compare).

»
7 years ago, # |
  Vote: I like it +5 Vote: I do not like it

Auto comment: topic has been updated by the_badcoder (previous revision, new revision, compare).

»
7 years ago, # |
  Vote: I like it +5 Vote: I do not like it

Clash with CS Academy.

»
7 years ago, # |
  Vote: I like it +5 Vote: I do not like it

Auto comment: topic has been updated by the_badcoder (previous revision, new revision, compare).

»
7 years ago, # |
  Vote: I like it +5 Vote: I do not like it

Was F(Yet Another Update Query) sqrt decompostion?

  • »
    »
    7 years ago, # ^ |
      Vote: I like it +5 Vote: I do not like it

    It can be solved using sqrt decomposition+ bitset(I did not implement it). idk if that is the intended solution.

    • »
      »
      »
      7 years ago, # ^ |
        Vote: I like it +5 Vote: I do not like it

      I tried using sqrt decomposition. But wa :/

      And the solutions are not open, So cant see others.

      • »
        »
        »
        »
        7 years ago, # ^ |
          Vote: I like it +5 Vote: I do not like it

        oops, sorry. bitset can't be used here

      • »
        »
        »
        »
        7 years ago, # ^ |
          Vote: I like it +5 Vote: I do not like it

        sqrt root decomposition should do the job. I was thinking complex.

  • »
    »
    7 years ago, # ^ |
      Vote: I like it +5 Vote: I do not like it

    Double_O Yes its sqrt decompo . Here is my solution (https://paste.ubuntu.com/25228360/) Although authors solution included BIT .

    • »
      »
      »
      6 years ago, # ^ |
      Rev. 2   Vote: I like it 0 Vote: I do not like it

      Just stumbled onto this while searching for something. I was the author of this problem. I am pretty sure I did not use BIT in the solution. Why do you think so? I_See_You

      • »
        »
        »
        »
        6 years ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        Bhaia I don't really remember why I said that. Probably a mistake. :/ Tanzir5

»
7 years ago, # |
Rev. 3   Vote: I like it +5 Vote: I do not like it

whats the fault in my code? problem C: https://toph.co/p/maximum-sum my solution link: http://ideone.com/0kJEbo yet I haven't found any counter case or any reason why it shows wrong answer. it is a convenience for me if one share one's code. Thanks in advance.

»
7 years ago, # |
  Vote: I like it +5 Vote: I do not like it

Any Hint for problem H. Thanks in Advance