为什么测试不通过,只有最后一个点得分?
查看原帖
为什么测试不通过,只有最后一个点得分?
1056927
caibi666楼主2023/8/12 11:44
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
    float t;
    int n;
    cin>>t>>n;
    cout << setprecision(3)<<t/n<<endl;
    cout<<2*n;
    return 0;
}
2023/8/12 11:44
加载中...