提交时间:2024-01-22 17:05:21

运行 ID: 123001

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