Code is showing runtime error but it seems to be correct.
Run time error in test cases
Hey @mukuljoshi2711
There was some issue at the backend so we were not getting ur doubts
Its resolved now
Please share ur code in IDE
Hey @mukuljoshi2711
your code is correct
Problem is with testcase syntax
actually all the nos are in different lines
here do it like this
n = int(input())
lst = []
for i in range(n):
x=int(input())
lst.append(x)
print(Max_vol(lst, n))
Thank you sir all the test cases passed but it seems that there are problems in the question format.
The input format and the sample input do not match which result in my error and now I followed this syntax, all the test cases are passed but on clicking on compile and test it shows error in taking input.
Please resolve this so that other students don’ t face such problems.
Once again thank you for helping.
Yeah will forward ur feedback
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.