#include #include #include #include using namespace std; int main(){ int n,a,b; cin>>n; long long p; for(int i=0; i>a>>b; double la,lb,lc,ld; la=log10(a); lb=la*b; int ib; ib=lb; lc=lb-ib; ld=ib; int z; z=ld; double d; d=pow(10,lc); string s; s=to_string(d); int ss; ss=s.size(); char x,y; if(ss){ x=s[0]; if(ss>2){ y=s[2]; } else { y='0'; } } cout<