#include #include #include #include using namespace std; int main(int argc, char* argv[]) { string S; char tmp[10]; int 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,"%d",C); S+=tmp; }else{ S+="0"; } if (bDot){ S+="."; bDot=false; } A=10*D; if (!bDot){ i++; } } cout<