drawrect 썸네일형 리스트형 Algospot : DRAWRECT https://algospot.com/judge/problem/read/DRAWRECT #include using namespace std; int GetDifferent(int a, int b, int c) { return (a == b) ? c : (b == c) ? a : b; } int main() { int num_cases = 0; cin >> num_cases; for (int i = 0; i < num_cases; ++i) { int x[3] = { 0, }; int y[3] = { 0, }; for (int j = 0; j < 3; ++j) { cin >> x[j] >> y[j]; } cout 더보기 이전 1 다음