![[codeforces] A. Theatre Square](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2FNKeWZ%2Fbtqxt7Ve2cY%2FAAAAAAAAAAAAAAAAAAAAAKBUnJ2lIVoldkL-pIkDM5b16zY879hlmir4OK96uYN8%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1751295599%26allow_ip%3D%26allow_referer%3D%26signature%3DY4dNAAdHohEJWgWsFbDTyv%252FQYdc%253D)
알고리즘(Python,Java)2019. 8. 15. 21:20[codeforces] A. Theatre Square
problem Theatre Square in the capital city of Berland has a rectangular shape with the size n × m meters. On the occasion of the city's anniversary, a decision was taken to pave the Square with square granite flagstones. Each flagstone is of the size a × a. What is the least number of flagstones needed to pave the Square? It's allowed to cover the surface larger than the Theatre Square, but the ..