Information
- ID
- 433
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- 8
- Tags
- # Submissions
- 19
- Accepted
- 6
- Uploaded By
#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;
}
By signing up a 追梦算法网 universal account, you can submit code and join discussions in all online judging services provided by us.