有人可以帮我翻译一下这个吗?我急需,谢谢!

来源:百度知道 编辑:UC知道 时间:2024/06/02 15:48:18
Blowing Fuses
Time Limit:1000MS Memory Limit:10000K
Total Submit:287 Accepted:141

Description
Maybe you are familiar with the following situation. You have plugged in a lot of electrical devices, such as toasters, refrigerators, microwave ovens, computers, stereos, etc, and have them all running. But at the moment when you turn on the TV, the fuse blows, since the power drawn from all the machines is greater than the capacity of the fuse. Of course this is a great safety feature, avoiding that houses burn down too often due to fires ignited by overheating wires. But it is also annoying to walk down to the basement (or some other inconvenient place) to replace to fuse or switch it back on.

What one would like to have is a program that checks before turning on an electrical device whether the combined power drawn by all running devices exceeds the fuses capacity (and it blows), or whether it is safe to turn it on.

Input
The input

吹制融化
期限:1000MS 记忆界限:10000K
总数委托:287 接受:141

描述
也许你熟悉下列的情形。 你已经把许多电的装置, 像是烤箱、电冰箱、微波炉、计算机插电, 音响, 及其他, 而且有他们全部流动。 但是此刻,当你打开电视,熔断丝打击的时候,因为从所有的机器画的电源比熔断丝的能力棒。 当然,这是一个棒的安全特征, 避免