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