Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
5125 wocao 取余数与取整数 C++ Accepted 100 0 MS 244 KB 141 2020-07-27 17:29:31

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int n,m,a,b; cin>>n>>m; b=n/m; a=n-m*b; cout<<a<<" "<<b; return 0; }


Judgement Protocol: