题解 | #简单运算#
简单运算
http://www.nowcoder.com/practice/23c9b22d40fa4d7698a1306fb0c9f975
#include<bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin>>a>>b;
if(a<b)
swap(a,b);
cout<<a+b<<" "<<a-b<<" "<<a*b<<" "<<a/b<<" "<<a%b<<endl;
return 0;
}