cf1033a专题

CF1033A King Escape 题解 思维

King Escape 传送门 Alice and Bob are playing chess on a huge chessboard with dimensions n × n n \times n n×n. Alice has a single piece left — a queen, located at ( a x , a y ) (a_x, a_y) (ax​,ay​), w