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

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

Update: The contest has been postponed to tomorrow — 1st March. Apologies for the inconvenience.

We invite you to participate in CodeChef’s February Lunchtime, this Monday, 28th February, rated for all.

Time: 8:00 PM — 11:00 PM IST

Joining me on the problem setting panel are:

Note that this Lunchtime will not have Subtasks.

The video editorials of the problems will be available on our YouTube channel as soon as the contest ends. Subscribe to get notifications about our new editorials.

Also, if you have some original and engaging problem ideas, and you’re interested in them being used in CodeChef's contests, you can share them here.

Hope to see you participating. Good Luck!

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

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

There seems to be some issue with AWS. We are postponing the contest by 30 minutes. Apologies for the inconvenience.

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

20:20 IST: There still seems to be some lingering issues with AWS. Hence to be safe, we are postponing the contest to 20:00 IST tomorrow — 1st March, Tuesday.

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

Contest is Postponed to tomorrow....

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

Codechef back to being codechef....

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

Can't participate tomorrow. Do I have to do something to unregister?

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

DELETED

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

CodeChef_admin You should inform us 8: p.m itself. You don't know how much time we have wasted for this. Codechef back to being codechef...

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

24 hours delay! Thanks for the amusing maneuvering.

I intended to participate in tomorrow's Kotlin contest at CF. So, it seems that I won't be able to participate in the postponed Lunchtime contest.

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

So will I give february lunchtime or march lunchtime tomorrow? Lol.

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

Hey listen please! First of all there are only 2 3 contests for div2 and only 2 for div1 and that also are conducted like a gully-cricket match. If you are taking all of us lightly so will we. If you knew this, you could have informed this earlier. We are being informed when timer stops. Codechef is not a small college level website that is not checked/ monitored regularly. You must have checked this earlier, What were you doing then?? I can't tolerate now. I am boycotting your website for this gully-level management.

»
5 лет назад, скрыть # |
 
Проголосовать: нравится +15 Проголосовать: не нравится
Everytime when I feel Codechef is good:
»
5 лет назад, скрыть # |
 
Проголосовать: нравится +19 Проголосовать: не нравится

Everyone be like to codechef :

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

How will prizes be given if there are multiple users with same points?

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

Its strange that there were no sub-tasks!!!

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

(VISEMALL) Do the following conditions (any one) guarantee existence of hamiltonian path in $$$[L, R]$$$?

  1. $$$L = R$$$

  2. $$$X =L$$$ and all elements in $$$[L, R]$$$ are same.

  3. There is at least one pair of unequal elements in $$$[L, X]$$$.

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

does someone have some good proof to COOKPERM, I just assumed that this was a good place to use gcd.

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

    Lets denote cycle from first array by $$$(1,2,...,n-1,0)$$$ and cycle from second array by by $$$(1,2,3,....,m-1,0)$$$, Let $$$g=gcd(n,m)$$$.

    We can see that on the ith step we will be at $$$(i \%n,i\%m)$$$. We can now see that start from $$$(0,0)$$$ we will reach back to $$$(0,0)$$$ only when $$$i$$$ is a multiple of $$$g$$$ because on each step $$$ (i \%n) \% g = i \%g$$$ and $$$ (i \%m) \% g = i \%g$$$.

    This gives the lower bound. We can also see that cycles starting from $$$(j,0) \forall 0 \leq j \lt g$$$ are disjoint.

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

Few Hints regarding Problem Magical Modulo, would be very much appreciated.

  • »
    »
    5 лет назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится
    Hint 1
    Hint 2
    Hint 3
    Hint 4
    Hint 5
  • »
    »
    5 лет назад, скрыть # ^ |
     
    Проголосовать: нравится +8 Проголосовать: не нравится

    Let us try to limit the possible values of X(the modulus number).sum=initial sum of the array, p_sum= sum of the permutation from 1 to N. If we are able to convert the initial array to a permutation by applying some modulo operation X, then this condition should hold true sum%X==p_sum%X, right? or in other words X*floor(sum/X)+residue=sum and X*floor(p_sum/X)+residue=p_sum. If we simplify it more, X*(floor(sum/X)-floor(p_sum/X))=sum-p_sum, from the above equation we can clearly see that X should be a factor of sum-p_sum.So it will be sufficient for us to consider only such X, such that X divides (sum-p_sum) After that, you just need some minor optimizations.

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

A request to code chef to please let us see the test cases after the contest.

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

CodeChef_admin Please look at the cheating happening in the codechef starters . The submissions for travelling in the graph increased exponentially . My rank changed from 150 to 900 in just a last hour. I request you to do plagiarism checks so that those who worked hardly their efforts doesn't go in vain.