#include #include #include #include using namespace std; typedef long long LL; int main(int argc, char* argv[]) { string S; char tmp[100]; int i=0; LL A,B,C,D; cin>>A>>B; if (A%B==0){ sprintf(tmp,"%ld",A/B); S+=tmp; S+="."; while (i<=50){ S+="0"; i++; } cout<0){ sprintf(tmp,"%ld",C); S+=tmp; }else{ S+="0"; } if (bDot){ S+="."; bDot=false; } A=10*D; if (!bDot){ i++; } } cout<