In the following diagram, the circles are computers and the lines are connections between them.在下面的图表中,圆圈代表计算机,线条代表它们之间的连接。

Computer A is infected with the StuxNet virus and Computer B is infected with the RoXX3 virus.计算机 A 感染了“震网”病毒,计算机 B 感染了“RoXX3”病毒。
At the beginning of each new day, each virus spreads to any computers that are directly connected to an infected computer. If both viruses end up on a single computer, that computer is automatically destroyed and no further spreading will occur from that computer. After a few days, every computer is either infected or destroyed. 在每一天的开始,每种病毒都会传播到与受感染计算机直接相连的任何计算机上。如果两种病毒最终都感染了同一台计算机,那台计算机就会自动被摧毁,且不会再从该计算机传播。几天之后,每台计算机要么被感染,要么被摧毁。
Question:问题:
How many computers are operational but infected with the RoXX3 virus after a week?一周后,有多少台计算机处于可运行状态但感染了 RoXX3 病毒?
You can use the graphic above to find the correct answer by clicking on the circles.您可以点击上方图形中的圆圈来找到正确答案。
(Click on the correct number and your answer will be saved automatically. You can click on another number to change your answer.)(点击正确的数字,您的答案将自动保存。您也可以点击另一个数字来更改答案。)
A. 6
B. 7
C. 8
D. 9
E. 10
Explanation 解释
Answer: 答案:
6 computers are still operating but infected with RoXX3.6 台计算机仍在运行,但已感染了 RoXX3 病毒。
Explanation: 解释:
Day 1: B,C and D are infected with StuxNet and A and E with RoXX3, destroying A and B.第一天:B、C 和 D 感染了“震网”病毒,A 和 E 感染了 RoXX3 病毒,导致 A 和 B 被摧毁。
Day 2: F,G are infected (by C&D respectively) and H & L (by E) with RoXX3, no destructions.第 2 天:F 和 G(分别被 C 和 D 感染)以及 H 和 L(被 E 感染)感染了 RoXX3,没有发生毁灭事件。
Day 3: StuxNet : F and G infect H,I,K (C is already infected).第 3 天:震网病毒:F 和 G 感染 H、I、K(C 已经被感染)。
RoXX3: L infects N and P (E infected already) , H infects N,F.RoXX3:L 感染了 N 和 P(E 已经被感染),H 感染了 N 和 F。
So H and F are destroyed.所以 H 和 F 被摧毁了。
Day 4:StuxNet : K infects J.第 4 天:震网病毒:K 感染了 J。
RoXX3: N infects O,M. RoXX3:N 感染了 O 和 M。
Day 5: StuxNet: J infects M, destroying it.第五天:震网病毒:J 感染了 M 并将其摧毁。
RoXX3: O can infect Q (and N, already infected), M infects J, destroying it too.罗克斯 3:O 能够感染 Q(以及已被感染的 N),M 感染 J 并将其摧毁。
Day 6: RoXX3 N can only infect destroyed (H and M) or already infected computers (L)第 6 天:RoXX3 N 只能感染已被摧毁(H 和 M)或已受感染的计算机(L)
As neither StuxNet or RoXX3 can make new infections, the computers infected by RoXX3 are: BAEHLNFPOMJQ (roughly in order of infection) so 12 got the virus. Of these ABFHMJ are destroyed (6) leaving 6, infected with RoXX3 but operational. (E,L.P,N,O,Q)由于“震网”病毒和“RoXX3”都无法造成新的感染,被“RoXX3”感染的计算机依次为:BAEHLNFPOMJQ(大致按照感染顺序排列),所以共有 12 台计算机感染了病毒。其中 ABFHMJ 这 6 台已被破坏,剩下 6 台(E、L、P、N、O、Q)虽感染了“RoXX3”但仍在运行。
点击右侧文字,可获得更多在线练习题资源:>>> Bebras在线水平测试
Bebras新赛季备赛已开启,扫码领取Bebras真题资料⇓
欢迎咨询【Bebras专业辅导课程】


(Bebras每日一练部分展示)
