for the first test case im getting 7/16 but it should be 7/8 basically im doing summation of 1/n*1/k*1/n*fre(y)/n. https://codeforces.net/contest/1279/problem/D
can someone help me with the probability calculation part in this question?
for the first test case im getting 7/16 but it should be 7/8 basically im doing summation of 1/n*1/k*1/n*fre(y)/n. https://codeforces.net/contest/1279/problem/D