avatar
A brain teaser question (转载)# BrainTeaser - 大脑工作室
c*s
1
【 以下文字转载自 Quant 讨论区 】
发信人: JetMax (JetMax), 信区: Quant
标 题: A brain teaser question
发信站: BBS 未名空间站 (Sun Dec 16 14:03:40 2007)
Given a grid, each square in the grid has a light bulb and a button.
Everytime you press the button in a square, the light in this square and all
those in the immediately directly adjacent squares (i.e., the up, down,
left, and right squares; note that diagnally adjacent squares do not count)
are turned off. All lights are on initially.
Then question is: what is the minim
avatar
N*N
2
这是brainteaser还是算法题?

all
)
turn

【在 c******s 的大作中提到】
: 【 以下文字转载自 Quant 讨论区 】
: 发信人: JetMax (JetMax), 信区: Quant
: 标 题: A brain teaser question
: 发信站: BBS 未名空间站 (Sun Dec 16 14:03:40 2007)
: Given a grid, each square in the grid has a light bulb and a button.
: Everytime you press the button in a square, the light in this square and all
: those in the immediately directly adjacent squares (i.e., the up, down,
: left, and right squares; note that diagnally adjacent squares do not count)
: are turned off. All lights are on initially.
: Then question is: what is the minim

avatar
c*s
3
PS: a light is always off once it's been turned off.
avatar
c*s
4
我也这么觉得, 一点都不teaser

【在 N*****N 的大作中提到】
: 这是brainteaser还是算法题?
:
: all
: )
: turn

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。