반응형
[codeforces] A. Theatre Square
알고리즘(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 ..

반응형
image