Elon Musk often asks a question “Do you think I’m insane?”. We don’t know right? But we all know tha…
Click here to read the complete problem statement.
If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.
There is some problem in the test cases.
for languages like python of bash, any attempt to solve the problem will fail.
unless it is done forced, like me.
The problem is, in the sample case, the inputs are separated in 3 lines.
but in the test cases, they might not be.
I think, there is unnecessary space or something like that. @hjr265
There were some inconsistencies across different test I/Os. We have redone the files to make sure that they are in a more predictable format. Future solvers should not face any issue like this for this problem.
Actually, I was attempting to solve my first problem in Bash.
However, this problem occurred.
But thanks to you I have successfully solved my first problem in Bash here.
read a b c
echo $((c*a+c*b))
re: I have just found that markups don’t work for Bash in Toph.
The solution link which I have provided has only black letters.