Sir, I have a doubt in Problem C. In the function getNextpow, why did you return 0 when pvrPow==1
@aryanc403
2 ай бұрын
It is a typo. It should be if pvr==1 codeforces.com/contest/1995/submission/272195756
@divyanshpandey4697
2 ай бұрын
in solution of problem C , why are you using (mytype)pvr to typecast?
@aryanc403
2 ай бұрын
mytype is alias for long double
@suprkar1847
2 ай бұрын
why b1 first approach giving runtime error??? please tell
@aryanc403
2 ай бұрын
Input format is different.
@dhruvchoubey4713
2 ай бұрын
Getting wrong answer on TC 23 Question C(Squaring)
@aryanc403
2 ай бұрын
It fails on a testcase added after the contest due to precision issues. codeforces.com/contest/1995/submission/272107307 Adding a delta before ceils seems to work right now. codeforces.com/contest/1995/submission/272312134
@zebra-er6xc
2 ай бұрын
loved binary search on prefix array in b approach, I had the prefix sum idea lekin mujhe laga O(n^2) ho jayegi approach, binary search nahi aaya dimaag mei during contest
@aryanc403
2 ай бұрын
Thank you!
@Kartikey30
2 ай бұрын
ur solution is showing wrong ans on tc 23
@aryanc403
2 ай бұрын
Problem name?
@Kartikey30
2 ай бұрын
@@aryanc403 squaring
@L_Yassine
2 ай бұрын
thank you
@manishkumar-uw5mw
2 ай бұрын
wonderful soln of C
@pushanmukhopadhyay3379
2 ай бұрын
Solve only 2 questions
@akshattheintrovert3153
2 ай бұрын
Me too Question C was easy now that i see the approach
Пікірлер: 20