搜索结果
查询Tags标签: heater,共有 4条记录-
C# 理解委托与事件
例子背景 假设我们有个高档的热水器,我们给它通上电,当水温超过95度的时候:1、扬声器会开始发出语音,告诉你水的温度;2、液晶屏也会改变水温的显示,来提示水已经快烧开了。 现在我们需要写个程序来模拟这个烧水的过程,我们将定义一个类来代表热水器,我们管它叫:H…
2022/1/7 11:03:58 人评论 次浏览 -
C# 理解委托与事件
例子背景 假设我们有个高档的热水器,我们给它通上电,当水温超过95度的时候:1、扬声器会开始发出语音,告诉你水的温度;2、液晶屏也会改变水温的显示,来提示水已经快烧开了。 现在我们需要写个程序来模拟这个烧水的过程,我们将定义一个类来代表热水器,我们管它叫:H…
2022/1/7 11:03:58 人评论 次浏览 -
475. Heaters
/** 475. Heaters https://leetcode.com/problems/heaters/ Winter is coming! During the contest, your first job is to design a standard heater with a fixed warm radius to warm all the houses. Every house can be warmed, as long as the house is within the …
2022/1/1 6:07:40 人评论 次浏览 -
475. Heaters
/** 475. Heaters https://leetcode.com/problems/heaters/ Winter is coming! During the contest, your first job is to design a standard heater with a fixed warm radius to warm all the houses. Every house can be warmed, as long as the house is within the …
2022/1/1 6:07:40 人评论 次浏览