My Submission :
I believe that I have provided a proper solution but still I am getting total Score : 0%
I have also posted on the editorial_side of question but still no reply from there .
Provide guidance .
It is wrong on code-chef side to keep the topic hanging for so long .
Many issues are via the code-chef site itself , eg : use try and catch , when using input()
Waiting . . .
Move your initializations into the per-testcase loop.
And don’t start being impatient, this site owes you nothing.
Also… what? You don’t need try/catch to read input, and in fact you shouldn’t have that at all, because even it saves you from a runtime error you’ll still output the wrong answer. Most likely, you’re just running without custom input instead of it being a website issue.
I will : Move initialization into the per-testcase loop
I will continue to remain whatever I want .
FYI , Sites exists to provide service , Know this first .
what? does it means it owes you nothing ? explain
Instead of confusing with "custom inputs " , should have given examples .
You aren’t paying for anything here, so stop being impatient.
Also, if someone helps you, all it takes is you to click the like button to appreciate their effort.
Where does anyone pays ? in today’s world .
So stop expecting a level of service, standards being followed .
I know what a Like Button does .
There’s no problem with the site and there’s no need of using try-catch, probably you are not providing with custom test cases and getting NZEC in codechef compiler, you might be coming from hackerrank where test cases are already provided in the IDE.
is there any reference for this , with example , cause it is difficult to understand like this .
Assume codechef IDE to be your usual IDE where you write code and provide your testcases, if still it’s confusing then move to some other IDE for the time being.
I will :
“Assume codechef IDE to be your usual IDE where you write code and provide your testcases”
It will be better if you just , try to explain first .
Instead of making me move to other IDE
“if still it’s confusing then move to some other IDE for the time being.”
I followed what was said to me & got proper result .
Thank you for the guidance given to me .