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

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

I guess some accounts are created purposefully for a DoS attack.Some handles are ______u______ , ______k______ etc.These handles are submitting every 5 seconds.

Полный текст и комментарии »

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

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

Why is codeforces facing a long queue of submissions recently.Is it due to technical problems in the server or because of increased number of submissions by users.In either case is it possible to overcome this problem??,please leave your ideas in the suggestions.

Полный текст и комментарии »

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

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

This month's codechef long challenge had a great set of problems. One problem was cloning(https://www.codechef.com/problems/CLONEME/).

I couldn't solve it during the contest,but upsolved it just now.

I did it finding prefix square sums and prefix sum of the input and used a mergesort tree.To resolve collisions for ranges which have same prefix square sums and prefix sums,I had to do a lot of collision resolution work(computing various prefix power sums).

I find the pairs of numbers which differ in the intervals.If that count of pairs is greater than 1,we can answer them easily else find whether they occur at same position by find number of elements strictly lesser than and less than the value,then answer them. Here is my submission : https://www.codechef.com/viewsolution/14267198

Is there a deterministic solution or any better solution which has less collision?? If there is any good editorial please provide the link. Thanks in advance.

Please don't down-vote before reading.(sorry if it was harsh).Once again thanks in advance. :)

Полный текст и комментарии »

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