|
|
вернуться в форумMoe reshenie. Snachala ya ushy tochki peresecheniya otrezkov, dalee dlya vsex tochek opredelyu soedeninu li onu -> sostavlyu matricu smegnosti. Potom ishy ciklu dlinoy 3. And get WA on test 12. Thanks. I got AC now. I BFS over WxHx4 paintable sub-cells, then extract border edges for each component, then concatenate them. If N=3, we've got triangle. |
|
|