# 思路開根號# 參考程式碼static auto fast_io = []{ ios::sync_with_stdio(false); cout.tie(nullptr); cin.tie(nullptr); return 0;}();class Solution {public: int mySqrt(int x) { return sqrt(x); }}; LeetCode