题解 | #简单运算#
简单运算
https://www.nowcoder.com/practice/23c9b22d40fa4d7698a1306fb0c9f975
#include <iostream>
using namespace std;
int main() {
// write your code here......
int m,n;
int a,b;
cin>>a>>b;
m=(a>b?a:b);
n=(a<b?a:b);
cout<<m+n<<" "<<m-n<<" "<<m*n<<" "<<m/n<<" "<<m%n<<endl;
return 0;
}