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