int main() { int a,b; scanf("%d %d",&a,&b); printf("%.9lf",(double)a/b);//知道了浮点数该如何表示,第一次会用了double return 0; }