Skip to content

Commit 81473ba

Browse files
authored
[BOJ] 사분면 고르기 / 브론즈5 / 5분(O) -m "https://www.acmicpc.net/problem/14681"
1 parent a73f379 commit 81473ba

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

  • learntosurf/Baekjoon/2_조건문
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# 내 풀이
2+
x = int(input())
3+
y = int(input())
4+
5+
if x > 0 and y > 0 :
6+
print('1')
7+
elif x < 0 and y > 0 :
8+
print('2')
9+
elif x < 0 and y < 0 :
10+
print('3')
11+
else:
12+
print('4')

0 commit comments

Comments
 (0)