|
|
вернуться в форумPlease tell test 12 or Hint!!! 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. Re: Please tell test 12 or Hint!!! Re: Please tell test 12 or Hint!!! Thanks. I got AC now. Re: Please tell test 12 or Hint!!! I BFS over WxHx4 paintable sub-cells, then extract border edges for each component, then concatenate them. If N=3, we've got triangle. |
|
|