1037&11653
This commit is contained in:
3
zeta_python/completed/1037.py
Normal file
3
zeta_python/completed/1037.py
Normal file
@@ -0,0 +1,3 @@
|
||||
input()
|
||||
I = sorted(map(int, input().split()))
|
||||
print(I[0] * I[-1])
|
||||
12
zeta_python/completed/11653.py
Normal file
12
zeta_python/completed/11653.py
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user