← All problemsSign in

Bluetooth Range

You have a Bluetooth speaker having range d metres. It is placed at co-ordinates (x1,y1) and your friend wants to connect the speaker from the co-ordinates(x2,y2). Speaker can be connected from the device if it is in range of bluetooth. You have to return whether "YES" or "NO" that he can connect the speaker or not. ### Input - First line contains single integer d. - Second line contains two int

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start