#include <bits/stdc++.h> using namespace std; int main() { for(int i = 32; i <100;i++) { int t = i * i; int k1 = t % 10; int k2 = t / 10 % 10; int k3 = t / 100 % 10; int k4 = t / 1000; if (k1==k2 && k3 ==k4 ) cout << t<<endl; } return 0; } /************************************************************** Problem: 1092 User: mariooo Language: C++ Result: Accepted Time:11 ms Memory:2072 kb ****************************************************************/