做测试 登录 English
← 练习 563 →
搜索
跳转
找到 {{searchResults.length}} 条与“{{searchWords}}”相关的结果 没有找到与“{{searchWords}}”相关的结果 × 返回目录
目录 · 按章节
基础计数 (147)
球与盒子 (6)
概率 (142)

练习及解答

练习 563
A bug travels in the coordinate plane, moving only along lines parallel to the $x$-axis or the $y$-axis. Let $A=(-2,1)$ and $B=(2,-1)$. Consider all paths of the bug from $A$ to $B$ of length at most $12$. How many points with integer coordinates lie on at least one of these paths?
← 返回第 563 题
解答
  1. Now $d(A,B)=6$, so the extra length $2d_x+2d_y$ is at most $6$, i.e. $d_x+d_y\le3$.
  2. Rectangle $-2\le x\le2$, $-1\le y\le1$: $15$ points. Left/right strips: $2\cdot3\cdot3=18$. Top/bottom strips: $2\cdot3\cdot5=30$. Corners ($d_x,d_y\ge1$, $d_x+d_y\le3$): $4\cdot3=12$.
  3. Total: $15+18+30+12=\boxed{75}$.
搜索 跳转 上一题      下一题

联系我们

谢谢!您的消息已发送。
按年份