K Yet Another Problem About Pi 链接:K-Yet Another Problem About Pi_2021牛客暑期多校训练营8 (nowcoder.com) 题意:平面上有无穷个长,宽为的矩形方格。你有一条长度为的曲线可以任意弯折,起点任意,求曲线最多经过的方格
展开全文
K Yet Another Problem About Pi https://ac.nowcoder.com/acm/contest/11259/K 大致翻译: 给出每个区域的长和宽,求长度为π \piπ的线(形状任意只要是相连的就可以)最多可以经过几个区域。 分析: 首先要知道沿着斜线或者边
展开全文