看起来很简单的题,样例也对了,但我的为什么是WA啊啊啊!
#include<bits/stdc++.h> using namespace std; int main(){ double a; int b; cin>>a>>b; cout<<fixed<<setprecision(3)<<a/b<<" "; cout<<b*2; return 0; }