complete 30802.py
This commit is contained in:
1 parent
78b5a7e218
commit
ab1021d1d1
1 file changed
+9
@@ -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