Probability calculation for 717H

Revision en2, by achuru, 2025-02-13 17:02:27

Hi, recently I just solved the problem 717H using a probabilistic / randomized solution (here is my submission: https://codeforces.me/contest/717/submission/304678195). However, I couldn't find a way to calculate the probability of success for each iteration. I tried looking for the editorial but I couldn't access it :< . Can anyone help me with this? Thanks!

Tags probability, math, help

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English achuru 2025-02-13 17:02:27 68
en1 English achuru 2025-02-13 10:31:48 330 Initial revision (published)