Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

Commit baec273

Browse files
committed
.
1 parent d057673 commit baec273

1 file changed

Lines changed: 152 additions & 0 deletions

File tree

‎python/sangil_week2/baek17136.py‎

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
# 색종이
2+
# →⌟↑ 이런식으로 돌면서 체크
3+
# 시간 10개의 줄: 10 * 10 * 10 * 10 < 1초
4+
5+
# checkpoint
6+
# 큰 상자에 포함될 수록 절약된다.
7+
import sys
8+
9+
'''
10+
# →⌟↑
11+
dr = [(0, 1), (1, 0), (0, -1)]
12+
def scan_sq(current, space, visited):
13+
cx, cy = current
14+
# SCAN →⌟↑
15+
#####
16+
# 스택에 방문한 데 넣어놓고, 방문하면서 visited 보다 크면 넣기
17+
#####
18+
def stick_sq(current, space, visited):
19+
cx, cy = current
20+
# visited에서 숫자가 큰 것부터 붙여넣기
21+
'''
22+
23+
# 그냥 아예 처음부터 큰 거 붙이기
24+
25+
26+
def stick_sq(current, size, space, visited):
27+
28+
29+
def solution(square, size):
30+
ans = 0
31+
visited = [[0]*10 for _ in range(10)]
32+
33+
# for s in reversed(range(size + 1)) # 이것보다 직관적인 것 같아서..
34+
for s in range(size, 0, -1): # 언어에 대한 궁금증.. 왜 마지막 값은 포함 안 될까?
35+
36+
return ans
37+
38+
39+
def main():
40+
stdin = sys.stdin
41+
square = [map(int, stdin.readline().split()) for _ in range(10)]
42+
solution(square, len(square))
43+
44+
45+
if __name__ == "__main__":
46+
main()
47+
48+
'''testcase
49+
0 0 0 0 0 0 0 0 0 0
50+
0 0 0 0 0 0 0 0 0 0
51+
0 0 0 0 0 0 0 0 0 0
52+
0 0 0 0 0 0 0 0 0 0
53+
0 0 0 0 0 0 0 0 0 0
54+
0 0 0 0 0 0 0 0 0 0
55+
0 0 0 0 0 0 0 0 0 0
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0 0 0 0 0
111+
112+
7
113+
114+
1 1 1 1 1 1 1 1 1 1
115+
1 1 1 1 1 1 1 1 1 1
116+
1 1 1 1 1 1 1 1 1 1
117+
1 1 1 1 1 1 1 1 1 1
118+
1 1 1 1 1 1 1 1 1 1
119+
1 1 1 1 1 1 1 1 1 1
120+
1 1 1 1 1 1 1 1 1 1
121+
1 1 1 1 1 1 1 1 1 1
122+
1 1 1 1 1 1 1 1 1 1
123+
1 1 1 1 1 1 1 1 1 1
124+
125+
4
126+
127+
0 0 0 0 0 0 0 0 0 0
128+
0 1 1 1 1 1 0 0 0 0
129+
0 1 1 1 1 1 0 0 0 0
130+
0 0 1 1 1 1 0 0 0 0
131+
0 0 1 1 1 1 0 0 0 0
132+
0 1 1 1 1 1 1 1 1 1
133+
0 1 1 1 0 1 1 1 1 1
134+
0 1 1 1 0 1 1 1 1 1
135+
0 0 0 0 0 1 1 1 1 1
136+
0 0 0 0 0 1 1 1 1 1
137+
138+
6
139+
140+
0 0 0 0 0 0 0 0 0 0
141+
1 1 1 1 1 0 0 0 0 0
142+
1 1 1 1 1 0 1 1 1 1
143+
1 1 1 1 1 0 1 1 1 1
144+
1 1 1 1 1 0 1 1 1 1
145+
1 1 1 1 1 0 1 1 1 1
146+
0 0 0 0 0 0 0 0 0 0
147+
0 1 1 1 0 1 1 0 0 0
148+
0 1 1 1 0 1 1 0 0 0
149+
0 1 1 1 0 0 0 0 0 1
150+
151+
5
152+
'''

0 commit comments

Comments
 (0)