Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
333177 李俞家骅 【C1-9】分享水果 C++ Wrong Answer 0 2 MS 256 KB 189 2025-07-16 10:01:42

Tests(0/3):


#include<bits/stdc++.h> 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)<<x/z<<endl; return 0; }


Judgement Protocol: