#include <iostream> #include<sstream> #include<string> using namespace std; int main(int argc, char** argv) { int a; int b;int c;int d; string s1; string s2; stringstream ss,ss1; cin>>a; b=a*a; ss<<b; ss>>s1; ss1<<a; ss1>>s2; c=s1.length()...