-
14681번: 사분면 고르기 점 (x, y)의 사분면 번호(1, 2, 3, 4 중 하나)를 출력한다. www.acmicpc.net 문제 주어진 점이 몇 사분면에 해당하는지 출력 풀이 1 2 3 4 5 6 7 8 9 10 11 #include using namespace std; int main() { int x, y; cin >> x >> y; if (x > 0) cout x >> y; if (x > 0) cout