Run ID:102008

提交时间:2024-12-21 11:08:55

#include<iostream> #include<cmath> using namespace std; int main(){ int a,b,s,y; cin>>a>>b; s=a/b; y=a%b; if(a%b==0){ cout<<a<<" "<<b; return 0; } else{ cout<<s<<" "<<y; } return 0; }