Probability calculation for 717H

Revision en1, by achuru, 2025-02-13 10:31:48

Hi, recently I just solved the problem 717H using a probabilistic / randomized solution (here is my submission: https://codeforces.net/contest/717/submission/304678195). However, I couldn't find a way to calculate the probability of success for each iteration. 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)