1 条题解

  • 1
    @ 2022-9-29 20:59:13
    #include <bits/stdc++.h>
    using namespace std;
    void f(int n)
    {
        cout << n % 10;
        if (n / 10 > 0)
            f(n / 10);
    }
    int main()
    {
        ios::sync_with_stdio(false);
        cin.tie(0);
        int n;
        cin >> n;
        f(n);
        return 0;
    }
    
    • 1

    信息

    ID
    372
    时间
    1000ms
    内存
    128MiB
    难度
    3
    标签
    (无)
    递交数
    177
    已通过
    90
    上传者