### tourist's blog

By tourist, 16 months ago, translation,

1786A2 - Alternating Deck (hard version)

Problem author: KAN

Explanation
Code by KAN

1786B - Cake Assembly Line

Problem author: KAN

Explanation
Code by KAN

1785A - Monsters (easy version)

Problem author: tourist

Explanation
Code by tourist

1785B - Letter Exchange

Problem author: tourist

Explanation
Code by PavelKunyavskiy

1785C - Monsters (hard version)

Problem author: tourist

Explanation
Code by tourist

1785D - Wooden Spoon

Problem author: tourist

Explanation
Code by tourist

1785E - Infinite Game

Problem author: tourist

Explanation
Code by tourist

1785F - Minimums or Medians

Problem author: tourist

Explanation
Code by tourist, O(n^2)
Code by tourist, O(n)
• +81

 » 16 months ago, # |   +11 Thanks for the editorial,waiting from a long time.
 » 16 months ago, # |   +3 Finally an editorial! After a long week and a half.
 » 8 months ago, # |   0 can someone tell me, why this test case is NO according to tutorial code3 2 2 8 13 100 2 10 100 here we do need to shift , 2nd dispenser will server first and second cake , so this should be YES right .(KAN)
 » 6 months ago, # |   0 Another approach for BIf we are shifting to left it means we are moving in negative direction If we are shifting to right it means we are moving in positive directionWe can try all possible values of shifting by binary search, and compare if we want to shift in positive and negative direction and reduce the search space on each tryhttps://mirror.codeforces.com/contest/1786/submission/238301378
 » 3 weeks ago, # |   0 help with B please? what goes wrong here?appreciated. 262313860