提交时间:2024-01-22 16:51:17

运行 ID: 122870

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