Skip to content

Commit

Permalink
[3주차] : 김예경 - 18247 겨울왕국 티켓 예매 Bronze3 (CBNU-Nnet#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
vss121 committed Jul 17, 2022
1 parent 96339da commit 5c76aed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 김예경/18247 겨울왕국 티켓 예매.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
t = int(input())
for i in range(t):
n, m = map(int, input().split())
if m<4 or n<12: # L=12행
print(-1)
else:
print(11*m+4)

0 comments on commit 5c76aed

Please sign in to comment.