Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
378848 王璟源 【C1-9】分享水果 C++ 通过 100 8 MS 252 KB 208 2026-02-10 17:37: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<<endl; } return 0; }


测评信息: