diff --git a/c++/max_of_two_numbers.h b/c++/max_of_two_numbers.h new file mode 100644 index 0000000..1107efb --- /dev/null +++ b/c++/max_of_two_numbers.h @@ -0,0 +1,24 @@ + +// BY hg398 + +#include +using namespace std; +#define ll long long int +#define boost ios_base::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL) +#define FOR(i,a,b) for(int i=a;i<=b;i++) + +int largest(int a,int b) +{ + return a*(bool)(a/b) + b*(bool)(b/a); +} + +int main() { + boost; + int num1,num2; + cin>>num1>>num2; + if(num1==num2) + cout<