题目解题思路代码 题目类型:brainteaser� 解题思路 代码class Solution { public int bulbSwitch(int n) { return (int) Math.sqrt(n + 0.5); }}