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