1 solutions

  • 0
    @ 2023-1-30 15:47:10
    #include <bits/stdc++.h>
    using namespace std;
    int main()
    {
        int a, b, c, d, x, n;
        for(n=32; n<=99; n++)
        {
            x = n * n;
            a = x / 1000;
            b = x / 100 % 10;
            c = x % 100 / 10;
            d = x % 10;
            if((a == b) && (c == d))
            {
                cout << x;
            }
        }
        return 0;
    }
    
    
    • 1

    Information

    ID
    433
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    8
    Tags
    # Submissions
    19
    Accepted
    6
    Uploaded By