# Circles - Intersection

Time Limit : 1 sec, Memory Limit : 65536 KB

# ~̌

Q̉~ $c1$, $c2$ ɂāA

4

3

2

1

ꍇiʐڐȂꍇj

0

Əo͂ĂB

~ $c1$A$c2$ ̍WƔaȉ̌`ŗ^܂B

$c1x \; c1y \; c1r$
$c2x \; c2y \; c2r$

$c1x$, $c1y$, $c1r$ ͂Pڂ̉~ $x$ W, $y$ W, a\܂Bl $c2x$, $c2y$, $c2r$ ͂Qڂ̉~ $x$ W, $y$ W, a\܂B͂̍Wׂ͂Đŗ^܂B

## o

"4", "3", "2", "1" ܂ "0" 1 sɏo͂ĂB

• $-1,000 \leq c1x, c1y, c2x, c2y \leq 1,000$
• $1 \leq c1r, c2r \leq 1,000$
• $c1$, $c2$ ͓łȂB

1 1 1
6 2 2

4

1 2 1
4 2 2

3

1 2 1
3 2 2

2

0 0 1
1 0 2

1

0 0 1
0 0 2

0