DotsInCircle/BNElcin | DotsInCircle/varyak | ||||
---|---|---|---|---|---|
f | 1 | (x, y, r) = eval(input()) | f | 1 | (x, y, r) = eval(input()) |
t | 2 | (DOTx, DOTy) = eval(input()) | t | 2 | (a, b) = eval(input()) |
3 | Output = 'YES' | 3 | res = 'YES' | ||
4 | while DOTx or DOTy: | 4 | while a or b: | ||
5 | if (DOTx - x) ** 2 + (DOTy - y) ** 2 > r ** 2: | 5 | if (a - x) ** 2 + (b - y) ** 2 > r ** 2: | ||
6 | Output = 'NO' | 6 | res = 'NO' | ||
7 | (DOTx, DOTy) = eval(input()) | 7 | (a, b) = eval(input()) | ||
8 | print(Output) | 8 | print(res) |
Legends | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
|