Forgot password
 Register account
View 1429|Reply 3

[组合] 网格中穿越最大格子的直线

[Copy link]

70

Threads

442

Posts

19

Reputation

Show all posts

hejoseph posted 2017-9-7 10:16 |Read mode
在 $n\times n$ 的方格本内画一条直线,最多能穿越几个格子?

70

Threads

442

Posts

19

Reputation

Show all posts

original poster hejoseph posted 2017-9-7 10:48
Last edited by hejoseph 2017-9-14 16:26如果仅过格子的顶点或与边重合,则不算穿越格子

764

Threads

4672

Posts

27

Reputation

Show all posts

isee posted 2017-9-7 18:49
Last edited by isee 2017-9-7 20:46回复 1# hejoseph


    我凭直觉,像是把对角线向上拉一点点。。。这个直学似乎是对的。
    $n\times n$的网络,画出对角线(所在的直)线,经过了$n$个格,此对角线(段)除了首尾两个点,中间还经过了$n+1-2=n-1$个顶点,沿对角线垂直方向稍平移一个很小的距离,原$n-1$点会得到$n-1$个等腰直角三角形,即又多经过了$n-1$个网格,此时共经过了$n+n-1=2n-1$个网格。

70

Threads

442

Posts

19

Reputation

Show all posts

original poster hejoseph posted 2017-9-14 16:26

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-15 14:21 GMT+8

Powered by Discuz!

Processed in 0.013268 seconds, 24 queries