commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import math
|
||||
|
||||
n, c = map(int, input().split())
|
||||
a = [int(input()) for _ in range(n)]
|
||||
|
||||
packs = math.ceil(sum(a) / 10)
|
||||
print(packs * c)
|
||||
Reference in New Issue
Block a user