diff --git a/zeta_python/completed/10818.py b/zeta_python/completed/10818.py new file mode 100644 index 0000000..8b136d2 --- /dev/null +++ b/zeta_python/completed/10818.py @@ -0,0 +1,3 @@ +input() +A = list(map(int, input().split() ) ) +print(min(A), max(A)) \ No newline at end of file diff --git a/zeta_python/completed/14681.py b/zeta_python/completed/14681.py new file mode 100644 index 0000000..2cc754d --- /dev/null +++ b/zeta_python/completed/14681.py @@ -0,0 +1,11 @@ +x = int(input()) +y = int(input()) + +if x > 0 and y > 0: + print(1) +elif x < 0 and y > 0: + print(2) +elif x < 0 and y < 0: + print(3) +else: + print(4) \ No newline at end of file diff --git a/zeta_python/completed/2562.py b/zeta_python/completed/2562.py new file mode 100644 index 0000000..32bef3c --- /dev/null +++ b/zeta_python/completed/2562.py @@ -0,0 +1,9 @@ +A = [int(input()) for i in range(9)] +I = 0 +M = 0 +for i, v in enumerate(A): + if v > M: + I = i + M = v +print(M) +print(I+1) \ No newline at end of file diff --git a/zeta_python/completed/2884.py b/zeta_python/completed/2884.py new file mode 100644 index 0000000..a30dbf2 --- /dev/null +++ b/zeta_python/completed/2884.py @@ -0,0 +1,6 @@ +h, m = map(int, input().split()) + +if m < 45: + print((h-1)%24, 15+m) +else: + print(h, m-45) \ No newline at end of file diff --git a/zeta_python/completed/3052.py b/zeta_python/completed/3052.py new file mode 100644 index 0000000..bb9e4a2 --- /dev/null +++ b/zeta_python/completed/3052.py @@ -0,0 +1,11 @@ +A = list(map(lambda x: x%42, (int(input()) for i in range(10)))) +c = 0 +for i in A: + if i == -1: + continue + for k in range(10): + if A[k] == i: + A[k] = -1 + c += 1 + +print(c) diff --git a/zeta_python/completed/3053.py b/zeta_python/completed/3053.py index fd9deab..f09d228 100644 --- a/zeta_python/completed/3053.py +++ b/zeta_python/completed/3053.py @@ -1,6 +1,3 @@ -""" - -""" import math r = int(input()) print("%.6f"%round(r**2*math.pi,6)) diff --git a/zeta_python/completed/5543.py b/zeta_python/completed/5543.py new file mode 100644 index 0000000..0ba2510 --- /dev/null +++ b/zeta_python/completed/5543.py @@ -0,0 +1 @@ +print(min(int(input())for i in range(3))+min(int(input())for i in range(2))-50) \ No newline at end of file diff --git a/zeta_python/stdin.txt b/zeta_python/stdin.txt index 3cacc0b..e69de29 100644 --- a/zeta_python/stdin.txt +++ b/zeta_python/stdin.txt @@ -1 +0,0 @@ -12 \ No newline at end of file