Closed shibo911 closed 11 months ago
@shibo911 Can you provide a better description along with any Screenshots(if needed)
@shibo911 Can you provide a better description along with any Screenshots(if needed)
I have edited my previous comment.
@shibo911 The solution you have provided passes only some of the test cases, so try changing the logic and optimize the code.
@PavanaSakethaRam may I know the failed test cases, that will greatly help me in optimizing my code. thank you.
@shibo911 That can't be done since those test cases are like the Hidden test cases in any contests like CodeChef or CodeForces. So try solving with any other logic.
@shibo911 That can't be done since those test cases are like the Hidden test cases in any contests like CodeChef or CodeForces. So try solving with any other logic.
@PavanaSakethaRam Actually both CodeChef and Codeforces can show test cases. CodeChef charges a price whereas codeforces shows all the test cases whether right or wrong for free.
codeforces example:
@shibo911 That can't be done since those test cases are like the Hidden test cases in any contests like CodeChef or CodeForces. So try solving with any other logic.
@PavanaSakethaRam Actually both CodeChef and Codeforces can show test cases. CodeChef charges a price whereas codeforces shows all the test cases whether right or wrong for free.
codeforces example:
@shibo911 I think the code in the image in not the same code you have committed in the PR.
@shibo911 That can't be done since those test cases are like the Hidden test cases in any contests like CodeChef or CodeForces. So try solving with any other logic.
@PavanaSakethaRam Actually both CodeChef and Codeforces can show test cases. CodeChef charges a price whereas codeforces shows all the test cases whether right or wrong for free. codeforces example:
@shibo911 I think the code in the image in not the same code you have committed in the PR.
@PavanaSakethaRam My point is that both CodeChef and Codeforces can show test cases because you told that codechef and codeforces have hidden test cases (which is not). The question that is mentioned in the screenshot is a sample question and it is obviously not the issue I have to solve. All I want to know is that where my program is failing, because it works perfectly fine with the sample input that was provided.
@shibo911 but in a good ICPC there will be some hidden test cases which will not be given
Hi,
I solved the Question_3 #27 as i was assigned. I included all the constraints and run with all the examples. They all worked well.
Thank you.