i have written the code for this problem but i run it it is giving no output. why?
Book allocation output problem
i am getting the output now . but when i tried to submit it in hackerblocks it is not passing any test case . why is it so ?
Hello @Raghavsingla522,
You should have waited for her reply.
Now, coming back to your code:
Mistake:
Each output should be in a separate line for t>1.
Corrected Code:
Hope, this would help.
@S18ML0016 i was waiting for reply since yesterday. so why do you think i have not waited for her reply ? now you are solving my doubt by yourself.
Hey @Raghavsingla522,
I said that because when i acknowledged your doubt. The difference between the time she last replied and you reopened was not large. So, I suggested you.
Do you still have doubt related to this question?