We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0e406b commit 8fc6178Copy full SHA for 8fc6178
1 file changed
4/2.py
@@ -0,0 +1,12 @@
1
+# H 입력 받기
2
+h = int(input())
3
+
4
+count = 0
5
+for i in range(h + 1):
6
+ for j in range(60):
7
+ for k in range(60):
8
+ # 매 시각 안에 '3'이 포함되어 있다면 카운트 증가
9
+ if '3' in str(i) + str(j) + str(k):
10
+ count += 1
11
12
+print(count)
0 commit comments