알고리즘/백준

백준 14681번

반딧불이 코딩 2022. 8. 13. 05:09

#정답 코드

x = int(input())
y = int(input())

if x >0 and y > 0:
    print(1)
if x <0 and y >0:
    print(2)
if x <0 and y <0:
    print(3)
if x >0 and y <0:
    print(4)

한 번에 성공!

'알고리즘 > 백준' 카테고리의 다른 글

백준 2525번  (0) 2022.08.14
백준 2884번  (0) 2022.08.13
백준 2753번  (0) 2022.08.13
백준 3003번  (0) 2022.08.12
백준 9498번  (0) 2022.07.27