0

Signal

Problem Description You have been given longitude and latitude of locations from where the channels are going to be broadcasted. You also get the height of tower from which these channels are broadcasted. Moreover, you have been given the location of your friend Jason. You have to calculate how many connections he can make to the towers. Take Radius of earth= 6371 KM. All the computation has to be accurate up to 6 digits after the decimal point. Constraints 1 <= N < 10^5 Input First line contains integer N denoting the number of locations from where the channel is going to be broadcasted Second line contains N space-separated decimal values denoting latitudes Third line contains N space-separated decimal values denoting longitudes Fourth line contains N space-separated integer values denoting the height of tower from which channels are broadcasted Fifth Line contains two space-separated decimal values denoting latitude, longitude of Jason's location Output Print the number of channels Jason can co

8th Aug 2020, 12:55 PM
PAPPU BHANU SAI SATYA PRAKASH
PAPPU BHANU SAI SATYA PRAKASH - avatar
2 Respuestas
+ 4
Do you want us to solve this?
8th Aug 2020, 1:04 PM
Nilesh
Nilesh - avatar
0
Interesting topic.
8th Aug 2020, 1:57 PM
JaScript
JaScript - avatar