注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号
x
给点分 :P
Background
Security cameras often have an Ambient Light Sensor (ALS) that measures the amount of light around the camera and triggers a "night mode" when the ambient light is too low.
You have been given an ALS that reports sensor readings using the following structure:- (integer): Indicates the status of the reading.
- (float): Rep
您好! 本帖隐藏的内容需要积分高于 188 才可浏览 您当前积分为 0。 使用VIP即刻解锁阅读权限或查看其他获取积分的方式 游客,您好! 本帖隐藏的内容需要积分高于 188 才可浏览 您当前积分为 0。 VIP即刻解锁阅读权限 或 查看其他获取积分的方式 Output- lux [1] = 3.94383, should be 3.94383
- lux [2] = 3.35223, should be 3.35223
- lux [3] = 5.5397, should be 5.5397
- t: 0, lux: -1
- t: 1, lux: 3.94383
- t: 2, lux: 3.35223
- t: 3, lux: 5.5397
- t: 4, lux: -2
Execution time limit: 30 seconds
Memory limit: 1 GB
|