Sep 14, 2019

Lights-Out


Each employee of MegaCorp has a separate office in the MegaCorp office building. Each office is equipped with one overhead light and one toggle switch to turn the light on and off.
Every day, the employees turn on all lights when they come to work. Each evening they turn off all lights when they go home.
One day, the employees arrive to discover that someone has played a rather elaborate hoax on them. Though all looks fine when they come in (all lights are off), every time an employee flicks the switch in her office, this not only toggles the light in her office, but also the lights in the offices of all of her friends. (Friendship is a symmetric relationship.)
The question: does there necessarily exist an arrangement of the switches that will turn all lights simultaneously on (so that work can begin)? Prove your answer.

Sep 13, 2019

Super Egg Drop


You are given eggs, and you have access to a building with floors from to .
Each egg is identical in function, and if an egg breaks, you cannot drop it again.
You know that there exists a floor with such that any egg dropped at a floor higher than will break, and any egg dropped at or below floor will not break.
Each move, you may take an egg (if you have an unbroken one) and drop it from any floor (with ).
Your goal is to know with certainty what the value of is.
What is the minimum number of moves that you need to know with certainty what is, regardless of the initial value of ?

宝可梦对战入门资料集

Last Updated on Mar 25, 2020
仅仅是一些材料的堆砌, 主要是 Pokémon Showdown 上的 gen7 66 单打相关. Gen8 有很大的改动, 但是思考的方法总是有相通之处的.

Sep 6, 2019

一次阅读马拉松经历


关于阅马

阅读马拉松是由 TELL 发起, 自身独立运营的阅读比赛, 旨在用简单有趣的方式推广阅读. 参与者需要在规定时间内读完一本书, 并达到一定的阅读质量, 其实就是做一些 "阅读理解" 选择题, 以阅读时间 + 错题罚时来判定成绩.