class Solution {
public:
int bulbSwitch(int n) {
return sqrt(n + 0.5);
}
};
04-22
445
02-21
184
11-12
570
11-08
314