10 solutions
- 1
Information
- ID
- 60
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- 3
- Tags
- (None)
- # Submissions
- 792
- Accepted
- 426
- Uploaded By
#include<iostream>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
cout<<a/b<<" "<<a%b;
return 0;
}
#include<iostream>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
cout<<a/b<<" "<<a%b;
return 0;
}
#include using namespace std; int main(){ int a,b; cin>>a>>b; cout<<a/b<<" "<<a%b; return 0; }
#include using namespace std; int main(){ int a,b,c,d; cin>>a>>b; c=a%b; d=a/b; cout<<d<<" "<<c; return 0; }
#include using namespace std; int main(){ int a,b; cin>>a>>b; cout<<a/b<<" "<<a%b; return 0; }
#include using namespace std; int main(){ int a,b,c; cin>>a>>b; c=a%b; cout<<c; return 0; }
#include<iostream>
using namespace std;
int main(){
int a,b,c,d;
cin>>a>>b;
c=a/b;
d=a%b;
cout<<c<<" "<<d;
return 0;
}
#include using namespace std; int main(){ int a,b,c; cin>>a>>b; c=a%b; cout<<c; return 0; }
这个是对的,测过了
By signing up a HydroOJ universal account, you can submit code and join discussions in all online judging services provided by us.