1 条题解

  • 0
    @ 2026-5-17 14:26:08
    #include <iostream>
    using namespace std;
    int main() {
        int n, ans = 0;
        cin >> n;
        while (n % 2 == 0) {
            ans++;
            n /= 2;
        }
        cout << ans;
        return 0;
    }
    • 1

    信息

    ID
    8256
    时间
    2000ms
    内存
    1024MiB
    难度
    3
    标签
    递交数
    26
    已通过
    19
    上传者