Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
32792 张弛 苹果和虫子2 C++ Accepted 100 0 MS 248 KB 175 2022-02-25 20:54:33

Tests(4/4):


#include<bits/stdc++.h> using namespace std; double x,y; int n; int main(){ cin>>n>>x>>y; n=n-y/x; if(n<0){ cout<<0; return 0; } cout<<n; return 0; }


Judgement Protocol: