백준 14681 (파이썬)

김덕현·2021년 5월 27일
1

BAEKJOON

목록 보기
15/62

1.문제

https://www.acmicpc.net/problem/14681

2.코드

x=int(input())
y=int(input())
if x > 0 and y >0 : print("1")
elif x< 0 and y >0 : print("2")
elif x< 0 and y <0 : print("3")
elif x> 0 and y <0 : print("4")

3.코드해설

profile
BAEKJOON STUDYING

0개의 댓글