Dividing array problem

i am getting tle in one of test cases

Time limit is strict so you had to use scanf for taking input.
Here I used scanf in your code https://ide.codingblocks.com/s/239728