[USACO5.3] window area Window Area

https://www.luogu.org/problemnew/show/P2745

The float ... really strange method

We need to take into account the rectangular top, then if we are to the top of the k layer, which is now before us is rectangular k-th layer

The rectangle is divided into four continue to go up

 

Guess you like

Origin www.cnblogs.com/LM-LBG/p/10992892.html