diff --git a/zeta_python/completed/1037.py b/zeta_python/completed/1037.py new file mode 100644 index 0000000..1f2b00f --- /dev/null +++ b/zeta_python/completed/1037.py @@ -0,0 +1,3 @@ +input() +I = sorted(map(int, input().split())) +print(I[0] * I[-1]) diff --git a/zeta_python/completed/11653.py b/zeta_python/completed/11653.py new file mode 100644 index 0000000..9834f68 --- /dev/null +++ b/zeta_python/completed/11653.py @@ -0,0 +1,12 @@ +N = int(input()) +p = 2 +while N % p == 0: + N //= p + print(p) +p += 1 +while N != 1: + if N % p == 0: + N //= p + print(p) + else: + p += 2