Baekjoon 1002. 터렛 c++[Silver III]
·
Baekjoon/Silver
위에 그림이 생각 났으면 쉽게 풀 수 있는 문제#include #include #include using namespace std;int main(){ int test_case; cin >> test_case; for(int i=0;i> x1 >> y1 >> r1 >> x2 >> y2 >> r2; int d=pow(x1-x2,2)+pow(y1-y2,2); int r_minus=pow(r1-r2,2); int r_plus=pow(r1+r2,2); if(d==0){ if(r_minus==0) cout