:((
Tell me the problem in my code
u dont have to use float… use int only…
u can also refer this https://ide.codingblocks.com/s/590885
bhaiya mine is giving wa and tle even with int
bhaiya concept clear h bs accept nhi ho rha
ok… let me debug ur code
yrr tumne code hi glt likha hai… hm primary comparisons heap size pe krre hai… tumne kuch aur hi kiya hai… isliye ek bar mere code se go through kro… u would get to know ur mistake
bhaiya maine soln video nahi dekha hai but primary comparison toh definitely median value pr bhi kar hi sakte h
yrr ek advice deta hu… ques chahe khud se hobhi jaye… ek bar soln jrur dekha kro… naye concepts sikhne ko milte hai… there is no harm in seeing solutions… vo tumhari understanding better hi krega
han definitely but pehle socha khud kr dun
ab ek baar mere tareeke me error dhund do pls
hello? … pls tell
https://ide.codingblocks.com/s/591000 8/10 test case to chlge… 2 mei tle aara hai… vo dekhta hu main
@laksh.rustagi12 I know what you are talking about I also tried both ways and both work fine.
https://ide.codingblocks.com/s/593348