P5706求大佬帮助,帮助必关!
查看原帖
P5706求大佬帮助,帮助必关!
1043043
whcy楼主2025/2/7 16:39

看起来很简单的题,样例也对了,但我的为什么是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;
}
2025/2/7 16:39
加载中...