xinyu04

导航

2022年8月31日 #

MathProblem 76 Two bags and marble problem

摘要: You choose one of two identical looking bags at random. One bag has three black marbles and one white marble. The other has three white marbles and on 阅读全文

posted @ 2022-08-31 21:32 Blackzxy 阅读(12) 评论(0) 推荐(0) 编辑

MathProblem 72 A jar and an amoeba problem

摘要: A jar begins with one amoeba. Every minute, every amoeba turns into 0, 1, 2, or 3 amoebae with probability 25% for each case ( dies, does nothing, spl 阅读全文

posted @ 2022-08-31 21:13 Blackzxy 阅读(16) 评论(0) 推荐(0) 编辑

MathProblem 71 Nine pearls and a scale problem

摘要: You have nine pearls, eight are real and one is fake. All the real ones weigh the same and the fake weighs less than the real ones. Using a balance sc 阅读全文

posted @ 2022-08-31 20:16 Blackzxy 阅读(20) 评论(0) 推荐(0) 编辑

[Google] LeetCode 489 Robot Room Cleaner

摘要: You are controlling a robot that is located somewhere in a room. The room is modeled as an m x n binary grid where 0 represents a wall and 1 represent 阅读全文

posted @ 2022-08-31 17:14 Blackzxy 阅读(22) 评论(0) 推荐(0) 编辑

MathProblem 68 Four weights and a scale problem

摘要: Using a balance scale and four weights you must be able to balance any integer load from $1$ to $40$. How much should each of the four weights weigh? 阅读全文

posted @ 2022-08-31 04:52 Blackzxy 阅读(15) 评论(0) 推荐(0) 编辑