complete 30802.py

This commit is contained in:
2025-01-17 04:15:55 +09:00
parent 78b5a7e218
commit ab1021d1d1

View 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)