2016-11-10から1日間の記事一覧

NCR CodeSprint: Points and Fences

https://www.hackerrank.com/contests/ncr-codesprint/challenges/points-and-fences 問題概要 2次元平面の問題。以下の3種類のクエリを処理する。 add x1 y1 x2 y2: (x1,y1) (x2,y2) の長方形型のフェンスを設置する delete j: j番目のクエリで設置したフェ…