DOUBT REGARDING PIZZA SLICE PROBLEM OF LONG CHALLENGE

I don’t know why my last question was deleted by Codechef which was the same as this. The problem statement is not very clear, so I am asking it here, please don’t delete the question before I get my query solved.

Problem Link :

It is mentioned in the problem that : Mark N points A1,A2,A3,…,AN on one ray in this order (A1 is closest to A0).

So does that mean, first comes A0,then A1,then A2 and so on… or I can randomly mark A1,A2,A3,A4,…ETC…wherever I want ?

Please clear my doubt guys!! _/_ :frowning:

you have to mark in ascending order. A0,A1,A2…An. Its very clear in the question. They have already specified the order A1,A2,A3 and so on hence the order including A0 can either be A0,An,An-1,…A2,A1 or A0,A1,A2,…An and as they also specified A1 is closest to A0 hence the order is A0,A1,A2,…An.

1 Like

ok thanks :)!

how to measure the angle in the question will it be the smaller angle between the lines or the bigger one