complete 30802.py

This commit is contained in:
yenru0 committed 2025-01-17 04:15:55 +09:00
1 parent 78b5a7e218
commit ab1021d1d1
1 file changed
+9
+9
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)