Skip to content

Commit 3fa924e

Browse files
authored
[Baekjoon] 2563번 코드
1 parent eabaa78 commit 3fa924e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

2563.py

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import sys
2+
input = sys.stdin.readline
3+
4+
paper = [[0]*101 for i in range(101)]
5+
for _ in range(int(input())):
6+
a, b = map(int, input().split())
7+
for i in range(10):
8+
for j in range(10):
9+
paper[a+i][b+j] = 1
10+
result = 0
11+
for i in paper:
12+
result += sum(i)
13+
print(result)
14+

0 commit comments

Comments
 (0)