complete 30802.py
This commit is contained in:
9
zeta_python/completed/30802.py
Normal file
9
zeta_python/completed/30802.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import math
|
||||
|
||||
if __name__ == "__main__":
|
||||
N = int(input())
|
||||
S = list(map(int, input().split()))
|
||||
T, P = map(int, input().split())
|
||||
|
||||
print(sum(math.ceil(s / T) for s in S))
|
||||
print(N // P, N % P)
|
||||
Reference in New Issue
Block a user