Toggle navigation
YouTube
Facebook
Telegram
english
english
українська
Algotester 4.3
Build 496
2024-10-17
Log In
Contact Us
College
Sponsors
Donate
Sources
PyPy
n, m, k = map(int, input().split()) ans = 0 for i in range(n): cnt = input().count('*') ans += (cnt + k - 1) // k print(ans)