样例过了,为什么还是只有40分?(c++)
查看原帖
样例过了,为什么还是只有40分?(c++)
565707
mediocre_楼主2022/2/6 10:56
#include <bits/stdc++.h>
using namespace std;
int main(){
	float maths;
	int n;
	cin>>maths>>n;
	cout<<float(maths/n)<<"\n"<<n*2;
	return 0;
}
2022/2/6 10:56
加载中...