알고리즘/백준

백준 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)

한 번에 성공!

저작자표시 비영리 변경금지 (새창열림)