Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
328867 黄浙峰老师 【C1-9】分享水果 C++ 通过 100 1 MS 244 KB 203 2025-07-07 15:59:09

Tests(3/3):


#include<iostream> #include<iomanip> using namespace std; int main(){ int x,y,z; cin>>x>>y>>z; if(y%z==0){ cout<<y/z; } else{ cout<<fixed<<setprecision(2)<<1.0*x/z; } return 0; }


测评信息: