#include <iostream>
#include <string>
#include <cstdio>
#include <cstring>
using namespace std;
int Max(int a,int b)
{
return a>b?a:b;
}
int Max(int a,int b,int c)
{
int t=Max(a,b);
return Max(t,c);
}
string Max(string str1,string str2)
{
return str1>str2?str1:str2;
}
string Max(string str1,string str2,string str3)
{
string str=Max(str1,str2);
return Max(str,str3);
}
int Abs(int x)
{
return x>0?x:-x;
}
double Abs(double x)
{
return x>0?x:-x;
}
int main(int argc, char *argv[])
{
cout<<Abs(-100)<<endl;
cout<<Abs(0.222)<<endl;
cout<<Max(2,3)<<endl;
cout<<Max(7,8,0)<<endl;
cout<<Max("hina","zbc")<<endl;
cout<<Max("aaa","bbb","ccc")<<endl;
string str1="china";
string str2="korea";
cout<<str1.size()<<endl;
str1=str1+" and "+str2;
cout<<str1<<endl;
char a[]="hello";
printf("%d\n",strlen(a));
return 0;
}