提交时间:2024-01-19 15:38:48

运行 ID: 37181

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