本题是Problem E的进阶版,Problem E会给你一个固定的数,二本题是不固定的,所以只需迎刃而解就可以啦: #include<bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a>>b; cout<<a/b<<" "<<a%b; return 0; }
Ysjt | 深 ™